CVE-2026-42175
JSON

6.5medium

requests-hardened: Server-Side Request Forgery (SSRF) in requests-hardened RFC 6598

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.30% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-vh75-fwv3-pqrhPYSEC-2026-3050

Description

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

Product or packageVersionsReported by
saleor requests-hardened< 1.2.1CVE List
requests-hardened (PyPI)before 1.2.1GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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 .

GitHub Advisory Database

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

NVD (es)

requests-hardened es una biblioteca que anula los comportamientos predeterminados de la biblioteca requests, y añade nuevas características de seguridad. Antes de , la protección SSRF en requests-hardened no logra bloquear direcciones IP dentro del Espacio de Direcciones Compartidas RFC 6598 (100.64.0.0/10). Un atacante que puede suministrar URLs arbitrarias a requests-hardened podría explotar esta brecha para acceder a servicios internos alojados dentro de 100.64.0.0/10. Esto es, por ejemplo, relevante en entornos como AWS EKS donde 100.64.0.0/10 es comúnmente utilizado como el CIDR de pod predeterminado. El impacto depende del entorno, las implementaciones que utilizan el rango CIDR afectado para redes internas están expuestas a un bypass de SSRF, mientras que otras pueden no verse afectadas. Esta vulnerabilidad está corregida en .

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42175 changed 2026-05-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-vh75-fwv3-pqrh changed 2026-07-13CC-BY-4.0
NVDCVE-2026-42175 changed 2026-10-26Public domain
PyPA Advisory DatabasePYSEC-2026-3050 changed 2026-07-13CC-BY-4.0