# CVE-2026-45339: Open WebUI: API key endpoint restrictions bypassed via `x-api-key` header — full message processing on restricted endpoints

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/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.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:21:26.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-57q6-fvp4-pqmm, PYSEC-2026-3543
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

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

## 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> (package, web)

## Sources

- CVE List: [CVE-2026-45339](https://www.cve.org/CVERecord?id=CVE-2026-45339), CVE Terms of Use, modified 2026-05-19
- GitHub Advisory Database: [GHSA-57q6-fvp4-pqmm](https://github.com/advisories/GHSA-57q6-fvp4-pqmm), CC-BY-4.0, modified 2026-11-03
- NVD: [CVE-2026-45339](https://nvd.nist.gov/vuln/detail/CVE-2026-45339), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-3543](https://osv.dev/vulnerability/PYSEC-2026-3543), CC-BY-4.0, modified 2026-07-23

---

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