MediumVulnerability
GHSA-j2c8-v969-8r5c: Open WebUI: Sibling-Prefix Path Traversal via /cache/{path}
- Identifiers
- CVE-2026-54014GHSA-j2c8-v969-8r5c
- Published
- Record updated
- Affected
- open-webui <= 0.9.5
- Fixed in
- 0.9.6
- released June 1, 2026, 16 days before disclosure
Summary
Open WebUI's cache file serving endpoint, `serve_cache_file()` in `open_webui/main.py` at `/cache/{path:path}`, checks containment with `file_path.startswith(os.path.abspath(CACHE_DIR))` and omits a trailing `os.sep`. Any authenticated user with role `user` or `admin` can therefore read files from sibling directories whose names begin with `cache`, such as `cache_backup` or `cached_models`. Deep traversal and absolute paths are blocked, and the source reports the bypass as confirmed using open-webui 0.9.5.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online