All vulnerabilities

Servers and applications

CVE-2026-54014

Sibling-Prefix Path Traversal via /cache/{path} in open-webui/open-webui

Severity
Medium 4.3
Published
11 Jun 2026
Last changed
25 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.9.6
Exploit chance
0.4% in the next 30 daysHigher than 30% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Also known as
GHSA-j2c8-v969-8r5c
Sources
NVD, Project advisories (GitHub)

Description

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.

Deep traversal and absolute paths are correctly blocked. The bypass is narrow but confirmed — limited to sibling-prefix directories.

From open-webui/open-webui's security advisory.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • Every version before 0.9.6
Open WebUIServers and applications · github:open-webui/open-webui
  • Every version before 0.9.6

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-54014
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-54014
  • GitHub Advisory Database https://github.com/advisories/GHSA-j2c8-v969-8r5c
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c