curl Leaks Netrc Password to Redirected Host
CVE-2025-0167 Published on February 5, 2025
netrc and default credential leak
When asked to use a `.netrc` file for credentials **and** to follow HTTP
redirects, curl could leak the password used for the first host to the
followed-to host under certain circumstances.
This flaw only manifests itself if the netrc file has a `default` entry that
omits both login and password. A rare circumstance.
Vulnerability Analysis
CVE-2025-0167 can be exploited with network access, requires user interaction. This vulnerability is consided to have a high level of attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2025-0167. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Products Associated with CVE-2025-0167
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-0167 are published in these products: