CVE-2024-47081Requests vulnerable to .netrc credentials leak via malicious URLs
- 5.3MediumCVSS base score
- 1.0%Exploitation in 30 daysEPSS · top 36% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 9 months later
· 9 months later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.0% · top 36% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIrequestsGHSA-9hjg-9r4m-mvj7 (opens in a new tab)
References
References10
- https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/psf/requests/pull/6965 (opens in a new tab)x_refsource_MISC
- https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef (opens in a new tab)x_refsource_MISC
- https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env (opens in a new tab)x_refsource_MISC
- https://seclists.org/fulldisclosure/2025/Jun/2 (opens in a new tab)x_refsource_MISC
- http://seclists.org/fulldisclosure/2025/Jun/2 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/06/03/9 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/06/03/11 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/06/04/1 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2025/06/04/6 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-17564 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9hjg-9r4m-mvj7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-47081)Record last updated .