requests-hardened CVE-2026-42175
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker identifies application accepting URLs
-
DeliveryCraft URL to internal service in 100.64.0.0/10
-
ExploitSubmit URL to application endpoint
-
Executionrequests-hardened fails to block RFC 6598 range
-
PersistHTTP request reaches internal service
-
ImpactAttacker exfiltrates sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability is exploitable when all of the following conditions are met: (1) the application uses requests-hardened library in versions prior to 1.2.1; (2) the application passes unsanitized or insufficiently validated user-supplied URLs directly to requests-hardened's request functions; (3) the target infrastructure uses RFC 6598 Shared Address Space (100.64.0.0/10) for internal networking, such as AWS EKS with default pod CIDR configuration. The attack requires no authentication (PR:N) and can be triggered remotely (AV:N) via network request, but the complexity is heightened because the attacker must identify both the vulnerable application endpoint and an internal service IP within the 100.64.0.0/10 range. Deployments that do not allocate 100.64.0.0/10 for internal use are not exposed to this specific bypass, though prior versions lacked blocking of other reserved ranges now fixed in 1.2.1. The vulnerability does not require user interaction (UI:N). |
| Impact | This vulnerability presents moderate real-world risk with context-dependent severity. The CVSS score of 6.5 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N) reflects network accessibility and high confidentiality impact, but the attack complexity is high, limiting exploitation likelihood in the general case. However, the AC:H rating conflicts with the actual exploitation scenario: an attacker merely needs to supply a crafted URL to an application using requests-hardened - if that application trusts user input and passes it directly to requests-hardened without validation, the barrier to exploitation drops significantly. The vulnerability is not actively exploited (no KEV status, no public POC identified), but it is a known design gap rather than a subtle logic error, making it discoverable by motivated attackers. EPSS data is unavailable, but the combination of network vector, lack of authentication, and deterministic exploitation (if conditions are met) suggests this should be prioritized in AWS EKS environments and other deployments using 100.64.0.0/10 for internal networking. Organizations not using RFC 6598 address space face negligible risk. The environment-dependent nature is critical: this is not a 'high CVSS, low real-world risk' issue, but rather a 'high real-world risk in specific deployments, moderate risk overall' vulnerability. Defenders must inventory whether their infrastructure uses the affected CIDR range; if yes, immediate patching is warranted. |
| Exploit ScenarioDerived | An attacker identifies an application using requests-hardened to fetch content from user-supplied URLs (e.g., a webhook processor or a proxy service that downloads remote images). The attacker supplies a URL pointing to an internal Kubernetes service in the pod CIDR range, such as http://100.64.1.5:5000/admin/credentials, which the SSRF filter fails to block prior to 1.2.1. The application's requests-hardened library forwards the request, and the attacker gains access to internal metadata, configuration endpoints, or other services intended only for pod-to-pod communication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 05, 2026
Server-side request forgery in requests-hardened prior to 1.2.1 allows remote attackers to bypass SSRF protection and access internal services within RFC 6598 Shared Address Space (100.64.0.0/10) by supplying arbitrary URLs, particularly impacting AWS EKS deployments where this CIDR is the default pod network. The vulnerability has a CVSS score of 6.5 and is environment-dependent, affecting only deployments using the vulnerable IP range for internal networking. Vendor-released patch: version 1.2.1 extends IP filtering logic to block RFC 6598, 6to4 relay anycast, IPv6 reserved ranges, and multicast addresses.
RemediationAI
Vendor-released patch: upgrade requests-hardened to version 1.2.1 or later immediately. For Python 3.10 and 3.11 users, ensure the patched version is installed from https://github.com/saleor/requests-hardened/releases/tag/v1.2.1, which includes backports for Python 3.10.11 and 3.11.9 via commit a266b3958bb142bca515b3c230fdea19fbda327c. If immediate patching is not feasible, implement network-level controls by blocking outbound HTTP/HTTPS requests from application servers to the 100.64.0.0/10 range using firewall rules or network policies (in Kubernetes, use NetworkPolicy to deny traffic to 100.64.0.0/10). This mitigates the specific SSRF gap but does not address other reserved ranges now blocked in 1.2.1, and requires ongoing manual maintenance. Additionally, validate and sanitize all user-supplied URLs in the application layer before passing them to requests-hardened, restricting to allowlisted domains where feasible. This eliminates reliance on requests-hardened as the sole security boundary. See https://github.com/saleor/requests-hardened/security/advisories/GHSA-vh75-fwv3-pqrh for the full advisory.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
requests-hardened is a Python library (pkg:pip/requests-hardened) that wraps the requests HTTP library with SSRF protection by filtering outbound requests to internal IP ranges. The vulnerability stems from incomplete IP range validation in the ip_filter.py module (CWE-918: Server-Side Request Forgery). The SSRF protection mechanism should block requests to reserved, private, and link-local IP ranges to prevent attackers from pivoting through a trusted HTTP client to access internal infrastructure. Prior to version 1.2.1, the filtering logic failed to account for RFC 6598 Carrier-Grade NAT (CG-NAT) address space (100.64.0.0/10), which is commonly allocated in containerized environments like AWS EKS for pod-to-pod communication. The fix adds explicit blocking of seven additional CIDR ranges: 192.88.99.0/24, 100.64.0.0/10, 5f00::/16, 64:ff9b::/96, 2001:20::/28, 224.0.0.0/4, and ff00::/8, as well as backfilling support for outdated Python versions 3.10.11 and 3.11.9 that lack proper ipaddress module coverage.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Primary rating from Vendor (https://github.com/saleor/requests-hardened) · only source for this CVE.
CVSS VectorVendor: https://github.com/saleor/requests-hardened
DescriptionCVE.org
The SSRF protection in requests-hardened prior to version 1.2.1 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.
The issue is resolved in version 1.2.1 by extending the IP filtering logic to explicitly block the RFC 6598 range in addition to standard private addresses, as well as blocking all other reserved addresses (such as multicast) to prevent the re-occurrence of similar issues.
Version 1.2.1 is now blocking the following CIDRs:
192.88.99.0/24- 6to4 relay anycast100.64.0.0/10- CG-NAT5f00::/16- IPv6 Segment Routing64:ff9b::/96- used for IPv6 & IPv4 translation (NAT64)2001:20::/28- ORCHIDv2 (overlay identifiers)224.0.0.0/4- multicastff00::/8- multicast
Resources
- https://github.com/python/cpython/issues/119812
- https://github.com/saleor/requests-hardened/commit/b7403f88d3b3689e57435b75b51691a160aaeef5 - the fix itself
- https://github.com/saleor/requests-hardened/commit/a266b3958bb142bca515b3c230fdea19fbda327c - follow up, adding additional support for outdated Python versions (
3.11.9and3.10.11instead of only3.11.15and3.10.20) - https://github.com/saleor/requests-hardened/releases/tag/v1.2.1
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-vh75-fwv3-pqrh
NVD
CVE.org
EPSS
Exploit-DB