CVE-2025-0167
netrc and default credential leak
- State
- Published
- Severity
- 3.4 Low
- Published
- Feb 5, 2025
- Updated
- Oct 15, 2026
- Reserved
- Dec 31, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.4 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N | CISA-ADP |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
curlcurl |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.