# CVE-2026-70491: Open WebUI: Tool source code disclosed to read-only users via the tool list and get endpoints

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-04T20:51:27.840Z
- Modified: 2026-09-18T14:47:15.447Z
- Also known as: GHSA-3r7g-q6cg-q2vx, PYSEC-2026-3639
- Weaknesses: CWE-200
- 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. 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.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-3r7g-q6cg-q2vx> (exploit, patch, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/pull/27005> (patch, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/commit/c05de13b4fca1ac8a17153782b46b3d0aacf491c> (patch, web)
- <https://github.com/open-webui/open-webui/releases/tag/v0.11.0> (release-notes, web)
- <https://github.com/open-webui/open-webui> (package)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-3r7g-q6cg-q2vx> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-70491> (advisory)

## Sources

- CVE List: [CVE-2026-70491](https://www.cve.org/CVERecord?id=CVE-2026-70491), CVE Terms of Use, modified 2026-08-05
- GitHub Advisory Database: [GHSA-3r7g-q6cg-q2vx](https://github.com/advisories/GHSA-3r7g-q6cg-q2vx), CC-BY-4.0, modified 2026-08-10
- NVD: [CVE-2026-70491](https://nvd.nist.gov/vuln/detail/CVE-2026-70491), Public domain, modified 2026-09-18
- PyPA Advisory Database: [PYSEC-2026-3639](https://osv.dev/vulnerability/PYSEC-2026-3639), CC-BY-4.0, modified 2026-08-10

---

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