{"id":"CVE-2026-70491","published":"2026-08-04T20:51:27Z","modified":"2026-08-05T14:45:34Z","title":"Open WebUI: Tool source code disclosed to read-only users via the tool list and get endpoints","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. In 0.10.2 and earlier, the GET /api/v1/tools/, GET /api/v1/tools/list, and GET /api/v1/tools/id/{id} endpoints in backend/open_webui/routers/tools.py returned full Python tool source to authenticated non-admin read-only users. ToolResponse deliberately omitted source and specs, but ToolUserResponse permitted extra fields and handlers spread a full tool model dump into the response, re-admitting omitted fields. A non-admin with a read grant can obtain another user's server-side tool source, which commonly embeds hard-coded API keys, credentials, and internal service URLs. This issue is fixed in 0.11.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00478,"percentile":0.4217,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-3r7g-q6cg-q2vx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-webui/open-webui/pull/27005","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-webui/open-webui/commit/c05de13b4fca1ac8a17153782b46b3d0aacf491c","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-webui/open-webui/releases/tag/v0.11.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":8.43},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-05T14:45:13.124317Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.11.0"],"patched":["0.11.0"],"from":["GHSA-3r7g-q6cg-q2vx","PYSEC-2026-3639"],"provenance":"source"}],"summary":{"text":"The Open WebUI self-hosted AI platform, versions 0.10.2 and earlier, exposes full Python tool source code through its tools API endpoints in the backend tools router, because the response model re-admits fields that were meant to be omitted. An authenticated non-admin user with read-only access can retrieve other users' server-side tool source over the network with no user interaction, which may reveal embedded credentials, API keys, and internal service URLs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:33Z"},"euvd":{"id":"EUVD-2026-52922","exploited":false,"provenance":"source"}}