password leak with netrc and user in URL
Summary
| CVE | CVE-2026-8926 |
|---|---|
| State | PUBLISHED |
| Assigner | curl |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-03 07:16:25 UTC |
| Updated | 2026-09-15 07:16:32 UTC |
| 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. |
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 | CWE-522 Insufficiently Protected Credentials
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Curl | Curl | affected 8.11.1 8.14.2 semver | Not specified |
| CNA | Curl | Curl | affected 8.15.0 8.16.1 semver | Not specified |
| CNA | Curl | Curl | affected 8.17.0 8.20.1 semver | Not specified |
| CNA | Curl | Curl | affected e9b9bbac22c26cf67316fa8e6c6b9e831af31949 4ae1d7cc2643e4773a136395f12bc02fc6867854 git | Not specified |
| CNA | Curl | Curl | affected 8.20.0 | Not specified |
| CNA | Curl | Curl | affected 8.19.0 | Not specified |
| CNA | Curl | Curl | affected 8.18.0 | Not specified |
| CNA | Curl | Curl | affected 8.17.0 | Not specified |
| CNA | Curl | Curl | affected 8.16.0 | Not specified |
| CNA | Curl | Curl | affected 8.15.0 | Not specified |
| CNA | Curl | Curl | affected 8.14.1 | Not specified |
| CNA | Curl | Curl | affected 8.14.0 | Not specified |
| CNA | Curl | Curl | affected 8.13.0 | Not specified |
| CNA | Curl | Curl | affected 8.12.1 | Not specified |
| CNA | Curl | Curl | affected 8.12.0 | Not specified |
| CNA | Curl | Curl | affected 8.11.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| curl.se/docs/CVE-2026-8926.json | 2499f714-1537-4658-8207-48ae4bb9eae9 | curl.se | Vendor Advisory |
| hackerone.com/reports/3735184 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | hackerone.com | Exploit, Issue Tracking, Third Party Advisory |
| curl.se/docs/CVE-2026-8926.html | 2499f714-1537-4658-8207-48ae4bb9eae9 | curl.se | Patch, Vendor Advisory |
| 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)
There are currently no legacy QID mappings associated with this CVE.