Vulnerability identifier: #VU111716
Vulnerability risk: Medium
CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-522
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Requests
Universal components / Libraries /
Scripting languages
Vendor: Python.org
Description
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to the library leaks .netrc credentials to third parties for specific maliciously-crafted URLs. A remote attacker can gain access to sensitive information.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Requests: 2.0.0 - 2.32.3
External links
https://seclists.org/fulldisclosure/2025/Jun/2
https://www.openwall.com/lists/oss-security/2025/06/03/11
https://www.openwall.com/lists/oss-security/2025/06/03/9
https://www.openwall.com/lists/oss-security/2025/06/04/1
https://www.openwall.com/lists/oss-security/2025/06/04/6
https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef
https://github.com/psf/requests/pull/6965
https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7
https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env
https://seclists.org/fulldisclosure/2025/Jun/2
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.