Critical Vulnerability: .netrc Credential Leak in PSF Requests Library

A critical security vulnerability (CVE-2024-47081) has been discovered in the widely used Python Requests library. Attackers can exploit a specific API call to leak credentials stored in the .netrc file to third parties. The vulnerability stems from the library's URL handling and was reported in September 2024, but remains unpatched. As a workaround, users are advised to explicitly specify credentials on every API call.
Read more