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

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T16:51:32.637Z
- Modified: 2026-08-04T14:40:58.493Z
- Also known as: GHSA-7r7x-gjvr-448g, PYSEC-2026-3593
- Weaknesses: CWE-862, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.10.0
- open-webui (PyPI): before 0.10.0
- openwebui open_webui: before 0.10.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-7r7x-gjvr-448g> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/pull/26001> (issue-tracking, patch, web)
- <https://github.com/open-webui/open-webui/commit/b7626f05fb92b24ab923ad81a037071ebd5623d1> (patch, web)
- <https://github.com/open-webui/open-webui/releases/tag/v0.10.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59217> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-7r7x-gjvr-448g> (advisory)

## Sources

- CVE List: [CVE-2026-59217](https://www.cve.org/CVERecord?id=CVE-2026-59217), CVE Terms of Use, modified 2026-07-14
- GitHub Advisory Database: [GHSA-7r7x-gjvr-448g](https://github.com/advisories/GHSA-7r7x-gjvr-448g), CC-BY-4.0, modified 2026-08-04
- NVD: [CVE-2026-59217](https://nvd.nist.gov/vuln/detail/CVE-2026-59217), Public domain, modified 2026-07-14
- PyPA Advisory Database: [PYSEC-2026-3593](https://osv.dev/vulnerability/PYSEC-2026-3593), CC-BY-4.0, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-59217 · Whole record: https://cve.day/CVE-2026-59217.json · Rebuilt by cve.day 2026-11-25T22:59:27.517Z
