9.1Critical

CVE-2026-8926password leak with netrc and user in URL

curl curl Published: (4 months ago)

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.

Weakness (CWE): CWE-522

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
curl curl 8.11.1 – < 8.14.2, 8.15.0 – < 8.16.1, 8.17.0 – < 8.20.1
haxx curl 8.11.1 – < 8.21.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:* ≥ 8.11.1 < 8.21.0