# CVE-2026-54021: Open WebUI: Authenticated users can target arbitrary configured Ollama backends via unguarded url_idx path parameter

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-06-17T18:01:50.000Z
- Modified: 2026-07-20T21:15:26.037Z
- Also known as: GHSA-9rpj-v7hf-vv2w, PYSEC-2026-2718
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, several direct, index-addressed Ollama proxy routes accept a caller-supplied url_idx path parameter and use it as a raw index into the admin-configured OLLAMA_BASE_URLS list. Access control on these routes validates only whether the user may use the requested model, never which backend the request is routed to. Any authenticated user can append an arbitrary url_idx to force their request onto an Ollama backend they were never authorized to reach, including internal, higher-privilege, or explicitly admin-disabled backends. This vulnerability is fixed in 0.9.6.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-9rpj-v7hf-vv2w> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54021> (advisory)
- <https://github.com/advisories/GHSA-9rpj-v7hf-vv2w> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2718.yaml> (web)
- <https://pypi.org/project/open-webui> (package, web)

## Sources

- CVE List: [CVE-2026-54021](https://www.cve.org/CVERecord?id=CVE-2026-54021), CVE Terms of Use, modified 2026-06-26
- GitHub Advisory Database: [GHSA-9rpj-v7hf-vv2w](https://github.com/advisories/GHSA-9rpj-v7hf-vv2w), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-54021](https://nvd.nist.gov/vuln/detail/CVE-2026-54021), Public domain, modified 2026-06-26
- PyPA Advisory Database: [PYSEC-2026-2718](https://osv.dev/vulnerability/PYSEC-2026-2718), CC-BY-4.0, modified 2026-07-13

---

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