{"id":"CVE-2026-45401","published":"2026-05-15T20:37:29Z","modified":"2026-05-18T12:48:33Z","title":"Open WebUI: SSRF Bypass via HTTP Redirect Following in Web-Fetch and Image-Load Endpoints","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, the validate_url() function in backend/open_webui/retrieval/web/utils.py only validates the initial URL submitted by the caller. The HTTP clients used downstream (sync requests, async aiohttp, langchain's WebBaseLoader) follow HTTP 3xx redirects by default and do not re-validate the redirect target against the private-IP / metadata-IP block list. Any authenticated user can therefore submit a public URL that 302-redirects to an internal address (e.g. 127.0.0.1, 169.254.169.254, RFC1918) and read the internal response body via the /api/v1/retrieval/process/web endpoint, the /api/v1/images/... endpoints, the /api/chat/completions endpoint with an image_url content part, and any other route that calls these helpers. This vulnerability is fixed in 0.9.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.003,"percentile":0.2263,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-rh5x-h6pp-cjj6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":4.53},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.95}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-26","earliestUrl":"https://github.com/nayakchinmohan/CVE-2026-45401","repos":[{"name":"nayakchinmohan/CVE-2026-45401","url":"https://github.com/nayakchinmohan/CVE-2026-45401","stars":1,"created":"2026-05-26"}]},"first":{"date":"2026-05-26","source":"PoC-in-GitHub","url":"https://github.com/nayakchinmohan/CVE-2026-45401"},"provenance":"source"},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.9.5"]}],"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.9.5"],"patched":["0.9.5"],"from":["GHSA-rh5x-h6pp-cjj6","PYSEC-2026-2755"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-30631","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-open-webui-cve-2025-65958","parents":[{"from":"CVE-2025-65958","to":"CVE-2026-45401","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-rh5x-h6pp-cjj6","via":"reference","url":"https://github.com/advisories/GHSA-c6xv-rcvw-v685"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-2755","via":"reference","url":"https://github.com/advisories/GHSA-c6xv-rcvw-v685"}]}]}}