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.
Published: 2026-07-15
Score: 9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 15 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 15 Jul 2026 12:00:00 +0000

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'}


Subscriptions

Openwebui Open Webui
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-15T18:33:15.579Z

Reserved: 2026-06-21T12:37:58.435Z

Link: CVE-2026-56400

cve-icon Vulnrichment

Updated: 2026-07-15T18:32:47.844Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T09:00:04Z

Weaknesses
  • CWE-613

    Insufficient Session Expiration