Original description
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.
Affected software
- curl ≥ 7.76.0 < 8.12.0 Fixed in: 8.12.0 exact match
Details
- Published
- 2025-02-05
- Last modified
- 2026-10-15
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N- EPSS (30-day exploit probability)
- 0.73% (percentile 55)
References
- cve.org/CVE-2025-0167
- nvd.nist.gov/vuln/detail/CVE-2025-0167
- curl.se/docs/CVE-2025-0167.html
- curl.se/docs/CVE-2025-0167.json
- hackerone.com/reports/2917232
- security.netapp.com/advisory/ntap-20250306-0008/
- cert-portal.siemens.com/productcert/html/ssa-089022.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.