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

CVE-2026-59212: Open WebUI: Model meta.knowledge read-only file access can be upgraded to file write/delete

July 24, 2026

Current main and v0.9.6 still allow an authenticated user to turn read-only access to another user’s file into write/delete access by attaching that file ID to an attacker-controlled workspace model.

This is an incomplete-fix variant of GHSA-vjqm-6gcc-62cr. The current fix adds _verify_knowledge_file_access(), but the validator only checks has_access_to_file(file_id, "read", user). The file write/delete routes later trust has_access_to_file(file_id, "write", user), and that function grants access through any writable model whose meta.knowledge contains the file ID.

The PoV includes a negative control showing the current validator rejects an inaccessible arbitrary file ID. The residual issue is narrower: a file ID that is readable only through a KB read grant is accepted into direct model file metadata, then the same model metadata satisfies later file write/delete checks.

References

  • github.com/advisories/GHSA-2xwm-4h2q-ggfx
  • github.com/open-webui/open-webui/commit/17df0264929514599dbcb21c6578bcdfa204b04d
  • github.com/open-webui/open-webui/pull/26032
  • github.com/open-webui/open-webui/releases/tag/v0.10.0
  • github.com/open-webui/open-webui/security/advisories/GHSA-2xwm-4h2q-ggfx
  • nvd.nist.gov/vuln/detail/CVE-2026-59212

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.9.6 before 0.10.0

Fixed versions

  • 0.10.0

Solution

Upgrade to version 0.10.0 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:18:22 +0000.