CVE-2025-0167 — 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 ci…
Published: 2025-02-05 · CVSS: 3.4 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7