CVE-2026-8926: password leak with netrc and user in URL
Last updated 2 July 2026
Other sources
password leak with netrc and user in URL
— Microsoft
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
— IBM
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.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.11.1-10 - Upgrade
Upgrade
azurelinux/curlto a version that resolves this vulnerability.Fixed in 8.11.1-10 - Upgrade
Upgrade
debian/curlto a version that resolves this vulnerability.Fixed in 8.21.0~rc2-1 - Upgrade
Upgrade
azurelinux/curlto a version that resolves this vulnerability.Fixed in 0:8.15.0-15.azl4 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 8.14.1-2ubuntu1.4 - Upgrade
Upgrade
ubuntu/curlto a version that resolves this vulnerability.Fixed in 8.18.0-1ubuntu2.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-8926?
CVE-2026-8926 has a risk score of 21, indicating a significant severity level.
How do I fix CVE-2026-8926?
To mitigate CVE-2026-8926, avoid using a username in the URL when also using a `.netrc` file for credentials.
What systems are affected by CVE-2026-8926?
CVE-2026-8926 affects the curl tool on Debian systems.
What kind of data might be compromised due to CVE-2026-8926?
CVE-2026-8926 could lead to unauthorized access to passwords for other users specified in the `.netrc` file.
When was CVE-2026-8926 published?
CVE-2026-8926 was published on July 3, 2026.