password leak with netrc and user in URL

Summary

CVECVE-2026-8926
StatePUBLISHED
Assignercurl
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-03 07:16:25 UTC
Updated2026-07-06 18:20:47 UTC
DescriptionWhen 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.

Risk And Classification

Primary CVSS: v3.1 9.1 CRITICAL from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

EPSS: 0.004790000 probability, percentile 0.379160000 (date 2026-07-08)

Problem Types: CWE-522 Insufficiently Protected Credentials


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Curl Curl affected 8.20.0 8.20.0 semver Not specified
CNA Curl Curl affected 8.19.0 8.19.0 semver Not specified
CNA Curl Curl affected 8.18.0 8.18.0 semver Not specified
CNA Curl Curl affected 8.17.0 8.17.0 semver Not specified
CNA Curl Curl affected 8.16.0 8.16.0 semver Not specified
CNA Curl Curl affected 8.15.0 8.15.0 semver Not specified
CNA Curl Curl affected 8.14.1 8.14.1 semver Not specified
CNA Curl Curl affected 8.14.0 8.14.0 semver Not specified
CNA Curl Curl affected 8.13.0 8.13.0 semver Not specified
CNA Curl Curl affected 8.12.1 8.12.1 semver Not specified
CNA Curl Curl affected 8.12.0 8.12.0 semver Not specified
CNA Curl Curl affected 8.11.1 8.11.1 semver Not specified

References

ReferenceSourceLinkTags
curl.se/docs/CVE-2026-8926.json 2499f714-1537-4658-8207-48ae4bb9eae9 curl.se
hackerone.com/reports/3735184 134c704f-9b21-4f2e-91b3-4a467353bcc0 hackerone.com
curl.se/docs/CVE-2026-8926.html 2499f714-1537-4658-8207-48ae4bb9eae9 curl.se
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Joshua Rogers (Aisle Research) (en)

CNA: Stefan Eissing (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report