CVE-2026-70491: Open WebUI: Tool source code disclosed to read-only users via the tool list and get endpoints
A workspace tool shared with a read grant returned its full Python source to the recipient. Any authenticated non-admin who could use a shared tool could also read its source, including any user on the instance when a tool was shared publicly. Source is meant to be a writer-only tier: the list response schema deliberately omits it and source export sits behind its own permission. The read endpoints delivered it anyway.
References
- github.com/advisories/GHSA-3r7g-q6cg-q2vx
- github.com/open-webui/open-webui/commit/c05de13b4fca1ac8a17153782b46b3d0aacf491c
- github.com/open-webui/open-webui/pull/27005
- github.com/open-webui/open-webui/releases/tag/v0.11.0
- github.com/open-webui/open-webui/security/advisories/GHSA-3r7g-q6cg-q2vx
- nvd.nist.gov/vuln/detail/CVE-2026-70491
Code Behaviors & Features
Detect and mitigate CVE-2026-70491 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 →