Skip to content

Add advisory for reqwest SSRF via default redirect policy#2668

Closed
BrianMcWilliams wants to merge 1 commit intorustsec:mainfrom
BrianMcWilliams:reqwest-ssrf-redirect
Closed

Add advisory for reqwest SSRF via default redirect policy#2668
BrianMcWilliams wants to merge 1 commit intorustsec:mainfrom
BrianMcWilliams:reqwest-ssrf-redirect

Conversation

@BrianMcWilliams
Copy link
Copy Markdown

This advisory reports an SSRF vulnerability in reqwest due to its default redirect policy following redirects to private/internal IP ranges.

Vulnerability: reqwest::redirect::Policy::default() follows up to 10 redirects without filtering targets against private IP ranges (RFC 1918, link-local, loopback, cloud metadata endpoints).

Impact: Server-side applications using reqwest to fetch user-controlled URLs are vulnerable to SSRF (CWE-918), allowing attackers to access internal services, cloud metadata (169.254.169.254), and localhost services via redirect chains.

Upstream issue: seanmonstar/reqwest#2344

CVSS: 8.6 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

@alex
Copy link
Copy Markdown
Member

alex commented Feb 24, 2026

This is now the 3rd time you've sent what, as far as I can tell is an identical PR without comment or explanation. Please explain what is going on, or we'll be forced to moderate your ability to interact with this repo.

@djc djc closed this Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants