{"schemaVersion":3,"id":"CVE-2026-56400","aliases":["GHSA-6xcp-7mpr-m7wm"],"status":"published","duplicateOf":null,"title":"open-webui - Remote Code Execution via CORS Misconfiguration and Session Validation","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.","dates":{"published":"2026-07-15T11:25:31.421Z","modified":"2026-07-15T18:33:15.579Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":4.1,"impact":10,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9,"severity":"critical","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0052,"percentile":0.4333,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.0052},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0052,"percentile":0.4333}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0052,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0052,"percentile":0.4333}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_838AD6A7D86C5E73","name":"Exploit Reference (vulncheck.com)","source":"reference","url":"https://www.vulncheck.com/advisories/open-webui-remote-code-execution-via-cors-misconfiguration-and-session-validation","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-613","name":"Insufficient Session Expiration","description":"According to WASC, \"Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.\"","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/613.html"}],"affected":[{"vendor":"open-webui","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.3.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.14","eol":null,"hubHref":"/vendor/open-webui/open-webui"},{"vendor":"openwebui","product":"open_webui","name":"open webui","label":"open_webui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.3.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.14","eol":null,"hubHref":"/vendor/openwebui/open_webui"},{"vendor":"PyPI","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/open-webui","purlType":"pypi","versions":[{"text":"< 0.3.33","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.33","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-6xcp-7mpr-m7wm","label":"github.com/open-webui/open-webui/security/advisories/GHSA-6xcp-7mpr-m7wm","hostname":"github.com","tags":["Vendor Advisory","WEB"]},{"url":"https://www.vulncheck.com/advisories/open-webui-remote-code-execution-via-cors-misconfiguration-and-session-validation","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory","Exploit"]},{"url":"https://github.com/open-webui/open-webui","label":"github.com/open-webui/open-webui","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-15T11:25:31.421Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T18:33:15.579Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:45:54.322Z","stale":false,"partial":false}}