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.
https://hackerone.com/reports/2917232
https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-1518
https://curl.se/docs/CVE-2025-0167.json
https://curl.se/docs/CVE-2025-0167.html
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
https://cert-portal.siemens.com/productcert/html/ssa-089022.html