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://[email protected]/`, 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.
INFO
Published Date :
July 3, 2026, 6:15 a.m.
Last Modified :
July 3, 2026, 6:15 a.m.
Remotely Exploit :
No
Source :
curl
Affected Products
The following products are affected by CVE-2026-8926
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Do not use username in URL with .netrc.
- Ensure .netrc file has correct user and password entries.
- Remove extraneous user entries from .netrc.
- Use password explicitly when needed.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-8926 vulnerability anywhere in the article.