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

Published Jun 24, 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

— 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

10 affected componentsFixes available
Microsoft azl3 curl 8.11.1-9<8.11.1-10
8.11.1-10
haxx curl>=8.11.1<8.21.0
All of the following
azurelinux/curl<8.11.1-10
8.11.1-10
Microsoft Azure Linux=3.0
IBM API Connect<=V10.0.8.0 - V10.0.8.13
debian/curl<=8.14.1-2+deb13u7
8.21.0~rc2-1
All of the following
azurelinux/curl<0:8.15.0-15.azl4
0:8.15.0-15.azl4
Microsoft Azure Linux=4.0
ubuntu/curl<8.14.1-2ubuntu1.4
8.14.1-2ubuntu1.4
ubuntu/curl<8.18.0-1ubuntu2.2
8.18.0-1ubuntu2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 8.11.1-10
  2. Upgrade

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

    Fixed in 8.11.1-10
  3. Upgrade

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

    Fixed in 8.21.0~rc2-1
  4. Upgrade

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

    Fixed in 0:8.15.0-15.azl4
  5. Upgrade

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

    Fixed in 8.14.1-2ubuntu1.4
  6. Upgrade

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

    Fixed in 8.18.0-1ubuntu2.2

Event History

Jun 24, 2026
CVE Published
via OSV·02:00 PM
Data Sourced
via OSV·02:00 PM
DescriptionSeverityAffected Software
Jul 3, 2026
CVE Published
via MITRE·06:15 AM
Data Sourced
via MITRE·06:15 AM
DescriptionWeakness
Data Sourced
via Red Hat·07:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 AM
Description
Jul 4, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:07 AM
Affected Software
Jul 6, 2026
Data Sourced
via NVD·06:20 PM
Severity
Jul 7, 2026
Data Sourced
via NVD·11:02 PM
RemedyWeaknessAffected Software
Aug 29, 2026
Event
via FIRST·12:00 AM
Sep 15, 2026
Updated
via MITRE·06:03 AM
Description
Updated
via NVD·07:16 AM
DescriptionWeakness
Nov 18, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 21, 2026
Data Sourced
via OSV·09:42 PM
Weakness

Parent advisories

This vulnerability appears in the following advisories.

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