CVE-2026-56400

open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation

Published Jul 15, 2026 CVSS 4.0 · 9 Critical EPSS < 1% KEV · Not listed
Description
open-webui before 0.3.14 contains a cross-origin resource sharing misconfiguration allowing arbitrary origins with allow_origins=* and authenticated requests to the /api/v1/functions endpoint. Attackers can execute arbitrary code on the openwebui instance by crafting malicious cross-site requests from attacker-controlled websites when an admin user visits them.

Analysis

AI-generated

Technical impact

open-webui before 0.3.14 suffers from a CORS misconfiguration that permits any origin to access authenticated requests on the /api/v1/functions endpoint. The likely attack vector is that an attacker can create a malicious cross‑site request from a site under their control. If an admin user of the open‑webui instance visits that site while authenticated, the victim’s browser will send the request to the API with the user’s credentials, allowing the attacker to send payloads that are executed on the server. This flaw results in arbitrary code execution with the privileges of the targeted account, potentially allowing full system compromise.

Affected Systems

The vulnerability affects the open‑webui project, specifically versions prior to 0.3.14. Administrators using open‑webui 0.3.13 or earlier are at risk. The product is distributed under the open‑webui:open‑webui CPE identifier.

Risk and Exploitability

The CVSS score of 9 indicates high severity, and the EPSS score of < 1% suggests a low probability of exploitation at the time of this analysis. The flaw is not listed in the CISA KEV catalog. The likely attack vector requires an attacker‑controlled website and a privileged user to visit that site while authenticated. Because the vulnerability can be triggered without needing arbitrary code on the client or elevated network privileges, the risk to the installed environment remains high if patched action is delayed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the open‑webui instance to version 0.3.14 or later, which removes the allow_origins=* configuration from the /api/v1/functions endpoint and addresses the CWE‑613 session validation weakness.
  • If an upgrade is not immediately feasible, restrict the CORS allow_origins setting to only trusted origins matching your domain(s) and implement proper session validation checks to mitigate the CWE‑613 vulnerability.
  • Review all authenticated API routes to confirm that origin checks and session validation comply with CWE‑613 best practices, ensuring no other endpoints exhibit similar misconfigurations.

Generated by OpenCVE AI on August 1, 2026 at 08:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description open-webui before 0.3.14 contains a cross-origin resource sharing misconfiguration allowing arbitrary origins with allow_origins=* and authenticated requests to the /api/v1/functions endpoint. Attackers can execute arbitrary code on the openwebui instance by crafting malicious cross-site requests from attacker-controlled websites when an admin user visits them.
Title open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation
First Time appeared Openwebui
Openwebui open Webui
Weaknesses CWE-613
CPEs cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
Vendors & Products Openwebui
Openwebui open Webui
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 15, 2026, 6:33 PM
Reserved
Jun 21, 2026, 12:37 PM
Status
Analyzed
Published
Jul 15, 2026, 12:18 PM
Modified
Jul 16, 2026, 8:03 PM