Servers and applications
CVE-2026-54021
Authenticated users can target arbitrary configured Ollama backends via unguarded url_idx path parameter
- Severity
- Medium 6.3
- Published
- 11 Jun 2026
- Last changed
- 26 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 0.9.6
- Exploit chance
- 0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read some data · Change some data · Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Also known as
- GHSA-9rpj-v7hf-vv2w
- Sources
- NVD, Project advisories (GitHub)
Description
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.
backend/open_webui/routers/ollama.py — get_ollama_url() consults the model-to-backend allow-list (OLLAMA_MODELS[model]["urls"]) only when url_idx is omitted. When the caller supplies url_idx, that mapping is skipped and the value is used directly as an index:
The outbound request is then sent to that backend using the backend's own configured API key. Backends an admin has disabled (OLLAMA_API_CONFIGS[""].enable = false) are hidden from model discovery but remain…
Affected software
| Software | Affected versions |
|---|---|
Open WebUIServers and applications · cpe:a:openwebui:open_webui |
|
Open WebUIServers and applications · github:open-webui/open-webui |
|
About Open WebUI
self-hosted user interface for artificial intelligence models
- Weekly downloads (PyPI)
- 355,496PyPI Stats, 15 Nov 2026
- Docker Hub pulls
- 990,663Docker Hub, 15 Nov 2026
- GitHub stars
- 158,684GitHub, 15 Nov 2026
- Forks
- 23,075GitHub, 15 Nov 2026
- Latest release
- v0.13.3GitHub, 15 Nov 2026
- Released
- 8 Nov 2026GitHub
- License
- multi-licensingWikidata
- First published on GitHub
- 6 Oct 2023GitHub
Website Source code Docker image Package
Vulnerabilities in Open WebUI
- In our list
- 177
- Published in the last 12 months
- 162
- Critical, last 12 months
- 5
- High, last 12 months
- 67
- Known exploited
- 0
- GHSA-3vvh-g22g-jq6rChannel members can post messages shown as a webhook via client-supplied message metadataMedium 4.3 18 Oct 2026
- CVE-2026-109572Terminal users can manage Terminals policies and other users' terminals via the terminal proxyHigh 7.2 28 Sept 2026
- CVE-2026-109292Other users' session tokens disclosed via OAuth-mode connections, tool servers and terminalsHigh 7.6 27 Sept 2026
- CVE-2026-109297Instance-wide stall via automation recurrence rules that evade sub-daily frequency detectionHigh 7.1 27 Sept 2026
- CVE-2026-109288Viewer session token theft via javascript: URLs in chat message linksHigh 7.2 27 Sept 2026
- CVE-2026-109294Any authenticated user can exhaust server memory via a compressed remote image in a chat messageHigh 7.1 27 Sept 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-54021
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-54021
- GitHub Advisory Database https://github.com/advisories/GHSA-9rpj-v7hf-vv2w
- github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-9rpj-v7hf-vv2w