{"id":"CVE-2026-56400","summary":"open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation","details":"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.","aliases":["GHSA-6xcp-7mpr-m7wm"],"modified":"2026-07-18T03:47:43.014572870Z","published":"2026-07-15T11:25:31.421Z","database_specific":{"cwe_ids":["CWE-613"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56400.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56400.json"},{"type":"ADVISORY","url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-6xcp-7mpr-m7wm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56400"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/open-webui-remote-code-execution-via-cors-misconfiguration-and-session-validation"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"0"},{"fixed":"8a620cab442ab61b1f80c21d6b68df7b020fb10c"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.3.14"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*"}}],"versions":["v0.3.13","v0.3.12","v0.3.11","v0.3.10","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.125","v0.1.124","v0.1.123","v0.1.122","v0.1.114","v0.1.121","v0.1.120","v0.1.119","v0.1.118","v0.1.117","v0.1.116","v0.1.115","v0.1.108","v0.1.113","v0.1.112","v0.1.111","v0.1.110","v0.1.109","v0.1.107","v0.1.106","v0.1.105","v0.1.104","v0.1.103","v0.1.102"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56400.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}