Server-side Request Forgery (SSRF) Affecting requests-hardened package, versions [,1.2.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-REQUESTSHARDENED-16431744
  • published6 May 2026
  • disclosed5 May 2026
  • creditMikail, Hits.3134

Introduced: 5 May 2026

CVE-2026-42175  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade requests-hardened to version 1.2.1 or higher.

Overview

requests-hardened is an A library that overrides the default behaviors of the requests library, and adds new security features.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the URL filtering process. An attacker can access internal services and potentially exfiltrate sensitive information by supplying specially crafted URLs that target IP addresses within the RFC 6598 Shared Address Space (100.64.0.0/10).

Note: This is only exploitable if the deployment uses the affected CIDR range for internal networking.

CVSS Base Scores

version 4.0
version 3.1