CVE-2026-42175
requests-hardened is a library that overrides the default behaviors of the requests library, and adds new security features.
Impact
requests-hardened is a library that overrides the default behaviors of the requests library, and adds new security features. Prior to , the SSRF protection in requests-hardened fails to block IP addresses within the RFC 6598 Shared Address Space (100.64.0.0/10). An attacker who can supply arbitrary URLs to requests-hardened could exploit this gap to access internal services hosted within 100.64.0.0/10. This is for example relevant in environments such as AWS EKS where 100.64.0.0/10 is commonly used as the default pod CIDR. The impact is environment-dependent, deployments that utilize the affected CIDR range for internal networking are exposed to SSRF bypass, while others may not be affected. This vulnerability is fixed in .
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | requests-hardened | < 1.2.1 | 1.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-vh75-fwv3-pqrh
- https://github.com/saleor/requests-hardened/security/advisories/GHSA-vh75-fwv3-pqrh
- https://github.com/saleor/requests-hardened/commit/a266b3958bb142bca515b3c230fdea19fbda327c
- https://github.com/saleor/requests-hardened/commit/b7403f88d3b3689e57435b75b51691a160aaeef5
- https://github.com/saleor/requests-hardened/releases/tag/v1.2.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-42175