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

Published Jul 3, 2026
·
Updated

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

MITRE

Affected Software

3 affected componentsFixes available
debian/curl<=8.14.1-2+deb13u3, <=8.20.0-5
7.74.0-1.3+deb11u137.74.0-1.3+deb11u167.88.1-10+deb12u147.88.1-10+deb12u58.21.0-2
haxx curl>=8.11.1<8.21.0
Microsoft azl3 curl 8.11.1-9<8.11.1-10
8.11.1-10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/curl to a version that resolves this vulnerability.

    Fixed in 7.74.0-1.3+deb11u13Fixed in 7.74.0-1.3+deb11u16Fixed in 7.88.1-10+deb12u14Fixed in 7.88.1-10+deb12u5Fixed in 8.21.0-2
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.11.1-10
  3. Configuration

    Avoid using .netrc for curl requests that include a username in the URL (without a password), unless the specified username exactly matches the .netrc entry for that host.

    curl .netrc usage = disabled/avoid
  4. Compensating control

    Do not rely on credentials via a .netrc file when requesting a URL that includes a username (without a password), because curl could wrongly get and use the password for a different user (e.g., when the URL is https://user@example.com/).

Event History

Jul 1, 2026
Data Sourced
via Debian·03:07 AM
DescriptionAffected Software
Jul 3, 2026
Data Sourced
via Ubuntu·03:08 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·06:15 AM
Data Sourced
via MITRE·06:15 AM
DescriptionWeakness
Data Sourced
via NVD·07:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 4, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:07 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-8926?

CVE-2026-8926 has a risk score of 21, indicating a significant severity level.

2

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.

3

What systems are affected by CVE-2026-8926?

CVE-2026-8926 affects the curl tool on Debian systems.

4

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.

5

When was CVE-2026-8926 published?

CVE-2026-8926 was published on July 3, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203