CVE-2024-47081: Requests vulnerable to .netrc credentials leak via malicious URLs
Vulnerability summary
CVE-2024-47081 is a medium (CVSS 5.3) Insufficiently Protected Credentials vulnerability in psf requests. EPSS estimates a 0.98% chance of exploitation in the next 30 days, higher than 62.3% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 35Timeline
- 09-06-2025PublishedVulnerability first disclosed.
- 09-06-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 9 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · Red hatEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.98%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.98% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard140 products
- airflowAll versions (No fix recorded)
- airflow-3< 3.0.1-r1
- airflow-3-bitnami-compat< 3.0.1-r1
- airflow-3-compat< 3.0.1-r1
- airflow-3-iamguarded-compat< 3.0.1-r1
Wolfi59 products
- airflowAll versions (No fix recorded)
- airflow-3< 3.0.1-r1
- airflow-3-bitnami-compat< 3.0.1-r1
- airflow-3-compat< 3.0.1-r1
- airflow-3-iamguarded-compat< 3.0.1-r1
Alpine1 product
- py3-requests< 2.32.4-r0
3 vendors · 200 products · Showing 200 of 338
References
67 links- github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7X Refsource CONFIRMWEBARTICLEAdvisory
- github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144efX Refsource MISCWEBFIXARTICLE
Show all 67 references
- github.com/psf/requestsPACKAGE