{"schemaVersion":3,"id":"CVE-2026-54014","aliases":["GHSA-j2c8-v969-8r5c","PYSEC-2026-2736"],"status":"published","duplicateOf":null,"title":null,"description":"Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, a path traversal vulnerability exists in open-webui's cache file serving endpoint that allows any authenticated user to read files from sibling directories outside the intended cache directory, by exploiting an incomplete startswith containment check that lacks a trailing path separator. The root cause is that serve_cache_file() in open_webui/main.py validates the resolved path with file_path.startswith(os.path.abspath(CACHE_DIR)) — without appending os.sep. This allows any path resolving to a sibling directory whose name begins with cache (e.g. cache_sibling, cache_backup, cached_models) to pass validation. This vulnerability is fixed in 0.9.6.","dates":{"published":"2026-06-23T16:45:39.220Z","modified":"2026-06-24T13:32:26.798Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00361,"percentile":0.28621,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00361},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00361,"percentile":0.28621}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00361,"percentile":0.28621}]},"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":"GITHUB_OPEN-WEBUI_OPEN-WEBUI","name":"Open Webui","source":"github","url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-8gh5-qqh8-hq3x","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.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.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","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.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","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.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c","label":"github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory","Mitigation"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54014","label":"nvd.nist.gov/vuln/detail/CVE-2026-54014","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-j2c8-v969-8r5c","label":"github.com/advisories/GHSA-j2c8-v969-8r5c","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/open-webui/open-webui","label":"github.com/open-webui/open-webui","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2736.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2736.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/open-webui","label":"pypi.org/project/open-webui","hostname":"pypi.org","tags":["WEB","PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-23T16:45:39.220Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-24T13:32:26.798Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T22:50:02.188Z","stale":false,"partial":false}}