# CVE-2026-54014: Open WebUI: Sibling-Prefix Path Traversal via /cache/{path} in open-webui/open-webui

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-17T14:16:25.000Z
- Modified: 2026-07-20T21:15:27.513Z
- Also known as: GHSA-j2c8-v969-8r5c, PYSEC-2026-2736
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.9.6
- open-webui (PyPI): before 0.9.6
- openwebui open_webui: before 0.9.6

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54014> (advisory)
- <https://github.com/advisories/GHSA-j2c8-v969-8r5c> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2736.yaml> (web)
- <https://pypi.org/project/open-webui> (package, web)

## Sources

- CVE List: [CVE-2026-54014](https://www.cve.org/CVERecord?id=CVE-2026-54014), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-j2c8-v969-8r5c](https://github.com/advisories/GHSA-j2c8-v969-8r5c), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-54014](https://nvd.nist.gov/vuln/detail/CVE-2026-54014), Public domain, modified 2026-06-25
- PyPA Advisory Database: [PYSEC-2026-2736](https://osv.dev/vulnerability/PYSEC-2026-2736), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-54014 · Whole record: https://cve.day/CVE-2026-54014.json · Rebuilt by cve.day 2026-11-25T22:59:25.511Z
