CVE-2024-47081

Requests vulnerable to .netrc credentials leak via malicious URLs

Published Jun 9, 2025 CVSS 3.1 · 5.3 Medium EPSS 1.0% KEV · Not listed
Description
Requests is a HTTP library. Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs. Users should upgrade to version 2.32.4 to receive a fix. For older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on one's Requests Session.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-17564 Requests is a HTTP library. Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs. Users should upgrade to version 2.32.4 to receive a fix. For older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on one's Requests Session.
Github GHSA Github GHSA GHSA-9hjg-9r4m-mvj7 Requests vulnerable to .netrc credentials leak via malicious URLs
Ubuntu USN Ubuntu USN USN-7568-1 Requests vulnerabilities
Ubuntu USN Ubuntu USN USN-7762-1 pip vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00067}

epss

{'score': 0.00024}

Type Values Removed Values Added
Metrics epss

{'score': 0.00062}

epss

{'score': 0.00067}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Requests is a HTTP library. Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs. Users should upgrade to version 2.32.4 to receive a fix. For older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on one's Requests Session.
Title Requests vulnerable to .netrc credentials leak via malicious URLs
Weaknesses CWE-522
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 9, 2025, 6:40 PM
Reserved
Sep 17, 2024, 5:42 PM
Status
Deferred
Published
Jun 9, 2025, 6:15 PM
Modified
Jun 17, 2026, 7:56 AM
Severity
Moderate
Public date
Jun 9, 2025, 5:57 PM