# CVE-2026-54008: Open WebUI: Redirect-Bypass SSRF in OAuth `_process_picture_url`

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/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.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-17T14:10:56.000Z
- Modified: 2026-07-13T16:42:55.257Z
- Also known as: GHSA-226f-f24g-524w, PYSEC-2026-2690
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, 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, backend/open_webui/utils/oauth.py::_process_picture_url calls validate_url(picture_url) on the initial URL only, then invokes aiohttp.ClientSession.get(picture_url, ...) without allow_redirects=False. aiohttp's default is allow_redirects=True, max_redirects=10; the function does not pass the project's AIOHTTP_CLIENT_ALLOW_REDIRECTS env constant either. An attacker with a valid OAuth IdP identity can therefore submit a public URL that 302-redirects to an internal address and read the internal response body via the attacker's own profile_image_url field. 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 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-226f-f24g-524w> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/open-webui/open-webui> (package)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-226f-f24g-524w> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54008> (advisory)

## Sources

- CVE List: [CVE-2026-54008](https://www.cve.org/CVERecord?id=CVE-2026-54008), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-226f-f24g-524w](https://github.com/advisories/GHSA-226f-f24g-524w), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-54008](https://nvd.nist.gov/vuln/detail/CVE-2026-54008), Public domain, modified 2026-06-25
- PyPA Advisory Database: [PYSEC-2026-2690](https://osv.dev/vulnerability/PYSEC-2026-2690), CC-BY-4.0, modified 2026-07-13

---

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