Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-54009

CVE-2026-54009: Open WebUI: Cross-user file disclosure via /api/chat/completions image_url field

June 17, 2026 (updated July 20, 2026)

POST /api/chat/completions accepts an image_url.url value that, when it does NOT start with http://, https://, or data:image/, is interpreted as a file id and resolved against the global file table with no ownership check. An authenticated user can therefore set image_url.url to another user’s file id, the server reads that file from disk, base64-encodes it, and injects the data URI into the LLM request. The user then prompts the LLM to describe / OCR the file and reads the content back.

Same class as CVE-2026-44560 (RAG cross-user access) and the multiple has_access_to_file checks added in routers/files.py – the auth boundary was tightened on the file router but not on this conversion path.

References

  • github.com/advisories/GHSA-wch8-mhj5-9frg
  • github.com/open-webui/open-webui
  • github.com/open-webui/open-webui/security/advisories/GHSA-wch8-mhj5-9frg
  • github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2766.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-54009
  • pypi.org/project/open-webui

Code Behaviors & Features

Detect and mitigate CVE-2026-54009 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.9.6

Fixed versions

  • 0.9.6

Solution

Upgrade to version 0.9.6 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

pypi/open-webui/CVE-2026-54009.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:25 +0000.