PT-2026-50480 · Unknown · Open-Webui
CVSS v3.1
8.5
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Open WebUI versions prior to 0.9.6
Description
An issue exists where the
process picture url() function in backend/open webui/utils/oauth.py performs URL validation only on the initial URL. Subsequently, it uses aiohttp.ClientSession.get() without setting allow redirects=False or utilizing the AIOHTTP CLIENT ALLOW REDIRECTS environment constant. Because the default behavior of aiohttp allows up to 10 redirects, an attacker with a valid OAuth Identity Provider identity can provide a public URL that redirects to an internal address. This allows the attacker to read the internal response body through their own profile image url field, leading to Server-Side Request Forgery (SSRF), a condition where a server is tricked into making unintended requests to internal or external resources.Recommendations
Update to version 0.9.6.
As a temporary workaround, disable OAuth until the update is applied.
Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Open-Webui