Files
open-webui/backend/open_webui/utils
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-01 02:48:29 -05:00
2026-06-29 11:56:00 -05:00
2026-07-26 18:46:39 -04:00
2026-07-23 22:52:23 -04:00
2026-07-27 00:12:47 -04:00
2026-03-17 17:58:01 -05:00
2026-07-23 02:54:56 -04:00
2026-07-26 21:12:14 -04:00
2026-07-24 01:44:30 -04:00
2026-07-27 00:12:47 -04:00
2026-07-23 21:29:33 -04:00
2026-07-23 12:48:14 -04:00
2026-07-27 00:12:47 -04:00
2026-06-01 13:56:55 -07:00
2026-07-01 03:35:46 -05:00
2026-07-27 00:55:16 -04:00
2026-07-27 00:55:16 -04:00
2026-07-26 23:09:22 -04:00
2026-07-16 01:37:21 -04:00
2026-07-24 01:44:30 -04:00
2026-07-23 19:17:19 -04:00
2026-07-26 18:54:07 -04:00
2026-03-17 17:58:01 -05:00
2026-07-27 00:10:36 -04:00
2026-07-20 22:11:42 -04:00
2026-06-19 00:16:06 +02:00
2026-07-10 18:32:21 -05:00
2026-07-27 00:34:25 -04:00
2026-06-01 13:56:55 -07:00
2026-06-29 12:29:10 -05:00
2026-07-26 17:58:01 -04:00