CVE-2026-8926: Vulnerability in Haxx curl

Critical. 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.

CWE-522

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-522
Published
3 Jul 2026
Last change
15 Sept 2026

Affected products

Affected versions and the first fixed release

  • Haxx curl From 8.11.1 before 8.21.0. Fixed in 8.21.0

Advisories

Vendor and security advisories

Related