Skip to content
HighVulnerability

GHSA-24c9-2m8q-qhmh: Open WebUI Vulnerable to SSRF via OAuth Profile Picture URL in _process_picture_url (oauth.py)

Published
Record updated
View JSON
Affected
  • open-webui <= 0.8.12
Fixed in
0.9.0
  • released April 21, 2026, 23 days before disclosure

Summary

GHSA-24c9-2m8q-qhmh describes a Server-Side Request Forgery in `_process_picture_url()` in `backend/open_webui/utils/oauth.py` (around line 1338) in Open WebUI. The function fetches arbitrary URLs taken from OAuth `picture` claims without calling `validate_url()`, although the codebase applies that check in other paths such as `files.py` and `images.py`. An attacker controlling the OIDC provider can make the server request internal resources and exfiltrate the response, with `ENABLE_OAUTH_SIGNUP=true` and generic OIDC configured as prerequisites.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.