CVE-2024-47081
Requests is a HTTP library. Due to a URL parsing issue, Requests …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef
- github.com/psf/requests/pull/6965
- github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7
- requests.readthedocs.io/en/latest/api/#requests.Session.trust_env
- seclists.org/fulldisclosure/2025/Jun/2
- seclists.org/fulldisclosure/2025/Jun/2
- www.openwall.com/lists/oss-security/2025/06/03/11
- www.openwall.com/lists/oss-security/2025/06/03/9
- nvd.nist.gov/vuln/detail/CVE-2024-47081
- cve.org/CVERecord?id=CVE-2024-47081
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.