Skip to main content

requests-hardened CVE-2026-42175

MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-05 https://github.com/saleor/requests-hardened GHSA-vh75-fwv3-pqrh
6.5
CVSS 3.1 · Vendor: https://github.com/saleor/requests-hardened
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker identifies application accepting URLs
  2. Delivery
    Craft URL to internal service in 100.64.0.0/10
  3. Exploit
    Submit URL to application endpoint
  4. Execution
    requests-hardened fails to block RFC 6598 range
  5. Persist
    HTTP request reaches internal service
  6. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi requests-hardened fix: 1.2.1

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

Vendor (https://github.com/saleor/requests-hardened) PRIMARY 6.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

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 anycast
  • 100.64.0.0/10 - CG-NAT
  • 5f00::/16 - IPv6 Segment Routing
  • 64:ff9b::/96 - used for IPv6 & IPv4 translation (NAT64)
  • 2001:20::/28 - ORCHIDv2 (overlay identifiers)
  • 224.0.0.0/4 - multicast
  • ff00::/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.9 and 3.10.11 instead of only 3.11.15 and 3.10.20)
  • https://github.com/saleor/requests-hardened/releases/tag/v1.2.1

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

pkg:pip/requests-hardened

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy