CVE-2026-45339
MEDIUM 6.5CVSS 3.1Open WebUI's API key endpoint restrictions bypassed via `x-api-key` header — full message processing on restricted endpoints
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, Open WebUI allows admins to restrict which API endpoints an API key can access. When an API key is restricted from /api/v1/messages, requests using the Authorization: Bearer sk-... header are correctly blocked with 403. However, the same key sent via the x-api-key header bypasses the restriction entirely — the request is authenticated, the model is invoked, and a full response is returned. This vulnerability is fixed in 0.9.0.
- Published
- 15 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-57q6-fvp4-pqmmPYSEC-2026-3543
- Sources
- NVDJSONOSV GHSA-57q6-fvp4-pqmmJSONOSV PYSEC-2026-3543JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openwebui | open_webuicpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* |
< 0.9.0 | 0.9.0 |
| OSV | PyPI | open-webui | < 0.9.0 | 0.9.0 |
References
- https://github.com/open-webui/open-webui/security/advisories/GHSA-57q6-fvp4-pqmm · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45339 · ADVISORY
- https://github.com/advisories/GHSA-57q6-fvp4-pqmm · ADVISORY
- https://github.com/open-webui/open-webui · PACKAGE
- https://github.com/open-webui/open-webui/releases/tag/v0.9.0 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-3543.yaml · WEB
- https://pypi.org/project/open-webui · WEB, PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 May 2026)