CVE-2026-8926

password leak with netrc and user in URL

State
Published
Severity
9.1 Critical
Published
Jul 3, 2026
Updated
Sep 15, 2026
Reserved
May 19, 2026

Read the record on cve.org

Description

When asking curl to use a `.netrc` file to find credentials and at the same time specifying a URL with a username (without a password), like `https://user@example.com/`, curl could wrongly get and use the password for *another* user set in the `.netrc` file for that host if such a one exists and there is no match for the specified user.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NCISA-ADP

Weaknesses

  • CWE-522 Insufficiently Protected Credentials

Affected Products

ProductVersions
curlcurl
  • 8.11.1 to before 8.14.2Affected
  • 8.15.0 to before 8.16.1Affected
  • 8.17.0 to before 8.20.1Affected
curlcurl
  • e9b9bbac22c26cf67316fa8e6c6b9e831af31949 to before 4ae1d7cc2643e4773a136395f12bc02fc6867854Affected
curlcurl
  • 8.20.0Affected
  • 8.19.0Affected
  • 8.18.0Affected
  • 8.17.0Affected
  • 8.16.0Affected
  • 8.15.0Affected
  • 8.14.1Affected
  • 8.14.0Affected
  • 8.13.0Affected
  • 8.12.1Affected
  • 8.12.0Affected
  • 8.11.1Affected

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.