CVE-2026-144579: curl_cffi 0.15.0 through 0.17.0 SSRF Protection Bypass via Redirect Targets
curlcffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allowredirects='safe' mode because isinternalip() omits 0.0.0.0 and IPv4-mapped IPv6 addresses. Malicious remote servers can redirect requests to 0.0.0.0 or ::ffff:-prefixed addresses to reach loopback services or cloud instance metadata and read the responses.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using curl_cffi versions 0.15.0 through 0.17.0 that make requests to remote-controlled servers with allow_redirects='safe' enabled are exposed. The remote server can supply a redirect target designed to reach internal services.
Does exploitation require authentication or user interaction?
No. The provided severity vector indicates network access, low attack complexity, no privileges required, and no user interaction.
What internal targets can an attacker attempt to reach?
A malicious redirect can target 0.0.0.0 or IPv4-mapped IPv6 addresses using the ::ffff: prefix. These targets can be used to access loopback services or cloud instance metadata and return their responses.
How can I determine whether my application is affected?
Check whether it uses curl_cffi 0.15.0 through 0.17.0 and enables allow_redirects='safe' for requests that may contact attacker-controlled or otherwise untrusted remote servers. The affected protection relies on is_internal_ip(), which does not identify 0.0.0.0 or IPv4-mapped IPv6 addresses as internal.