Files
open-webui_open-webui/backend/open_webui
Classic298 5dcca59aee fix: route OAuth profile-picture fetch through the SSRF-safe session (#26699)
_process_picture_url validated the picture URL with validate_url() but then fetched it with a plain aiohttp session that resolves the hostname again at connect time, leaving a DNS-rebinding TOCTOU window (the same gap already closed for the RAG loader, the content probe, the image fetches and webhook delivery). Routing the fetch through get_ssrf_safe_session() pins the connect-time resolution via _SSRFSafeResolver and rejects non-global addresses, so a rebinding host can no longer redirect the fetch to loopback, RFC1918 or cloud-metadata endpoints. It also stops the forwarded OAuth access_token from leaking to a rebound internal target.
2026-07-27 00:56:24 -04:00
..
2026-07-27 00:12:47 -04:00
2026-07-27 00:12:47 -04:00
2026-07-27 00:54:28 -04:00
2026-07-26 23:49:03 -04:00
2026-07-20 22:27:13 -04:00
2026-07-27 00:27:38 -04:00
2026-06-17 03:01:11 +02:00
2026-07-27 00:12:47 -04:00
2026-06-29 05:46:51 -05:00
2026-07-26 19:10:41 -04:00
2026-07-23 03:39:56 -04:00
2026-07-27 00:12:47 -04:00
2026-07-26 22:45:11 -04:00