GHSA-3r7g-q6cg-q2vx: Open WebUI: Tool source code disclosed to read-only users via the tool list and get endpoints
- Identifiers
- CVE-2026-70491GHSA-3r7g-q6cg-q2vx
- Published
- Record updated
- Affected
- open-webui <= 0.10.2
- Fixed in
- 0.11.0
- released July 27, 2026, 8 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Open WebUI's tool read endpoints, GET /api/v1/tools/, GET /api/v1/tools/list and GET /api/v1/tools/id/{id} in backend/open_webui/routers/tools.py, returned full tool source code to authenticated non-admin users holding only a read grant, and to all users when a tool was shared with user:*. ToolUserResponse permitted extra fields, so the source and specs that ToolResponse omits were re-admitted and serialized to the caller. The source often contains hard-coded API keys, credentials and internal service URLs; the flaw is confidentiality only, with no ability to modify or execute tools.
Mitigation
Fixed in 0.11.0 by commit c05de13b4 (#27005) together with 310ae9130. Upgrading to 0.11.0 fully resolves the issue with no configuration change.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online