What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: curl 8.21.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-8926 or the next vulnerability affects your stack