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.
Published: 2026-07-03
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized disclosure of credentials
Action: Patch Now
AI Analysis

Impact

When cURL is given a URL that contains a username but no password, such as https://user@example.com/, and it is instructed to read a .netrc file, the program may mistakenly retrieve the password for a different user entry that exists for that host. This results in the unintended disclosure of a stored password to the requester. The weakness lies in the handling of credential lookups and falls under multiple categories of credential management flaws.

Affected Systems

The vulnerability impacts the command‑line client distributed by the curl project. All releases that support .netrc parsing can be affected when invoked with the --netrc option and a URL that supplies a username without a password. The advisory flags this as a security issue for every cURL installation that may use .netrc files for authentication.

Risk and Exploitability

The CVSS score of 9.1 classifies this flaw as critical, yet the EPSS score of less than 1 % indicates that, at present, exploitation is unlikely. The vulnerability is not catalogued in the CISA KEV list. Attackers would need the ability to influence the URL passed to a local or otherwise controlled cURL instance that is running with the --netrc option enabled. A crafted request can cause the program to leak a password that belongs to a different user for the same host, thereby breaching confidentiality.

Generated by OpenCVE AI on September 21, 2026 at 07:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a cURL release that contains the CVE‑2026‑8926 fix.
  • Avoid using the --netrc option when the target URL contains a username but no password; instead provide a full user:password pair or disable netrc parsing for that invocation.
  • Ensure that .netrc files on the system contain only the entries that are necessary, are protected with strict permissions, and that any superfluous or potentially exploitable host entries are removed.

Generated by OpenCVE AI on September 21, 2026 at 07:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8487-1 curl vulnerabilities
History

Tue, 15 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
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. 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.

Tue, 07 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-289
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 06 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Sun, 05 Jul 2026 05:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Sat, 04 Jul 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Sat, 04 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 03 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 03 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 03 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Fri, 03 Jul 2026 06:45:00 +0000

Type Values Removed Values Added
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.
Title password leak with netrc and user in URL
References

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-09-15T06:03:23.777Z

Reserved: 2026-05-19T08:11:58.393Z

Link: CVE-2026-8926

cve-icon Vulnrichment

Updated: 2026-07-06T17:02:29.139Z

cve-icon NVD

Status : Modified

Published: 2026-07-03T07:16:25.037

Modified: 2026-09-15T07:16:32.980

Link: CVE-2026-8926

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-03T06:15:45Z

Links: CVE-2026-8926 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T08:00:08Z

Weaknesses
  • CWE-289

    Authentication Bypass by Alternate Name

  • CWE-522

    Insufficiently Protected Credentials