CVE-2025-0167

netrc and default credential leak

At a glance

Severity
LOW 3.4
EPSS
EPSS 0.75 % · percentile 55 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
curl
NVD status
Modified

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

VersionScoreVectorScored by
CVSS 3.1LOW 3.4CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:NCISA-ADP
CVSS 3.1LOW 3.4CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
curl · curlaffected 8.11.1 ≤ 8.11.1 ; affected 8.11.0 ≤ 8.11.0 ; affected 8.10.1 ≤ 8.10.1 ; affected 8.10.0 ≤ 8.10.0 ; affected 8.9.1 ≤ 8.9.1 ; affected 8.9.0 ≤ 8.9.0

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD