{"id":"CVE-2026-8926","summary":"password leak with netrc and user in URL","details":"When asking curl to use a `.netrc` file to find credentials and at the same\ntime specifying a URL with a username(without a password), like\n`https://user@example.com/`, curl could wrongly get and use the password for\n*another* user set in the `.netrc` file for that host if such a one exists and\nthere is no match for the specified user.","aliases":["CURL-CVE-2026-8926"],"modified":"2026-07-10T10:14:33.338798257Z","published":"2026-07-03T06:15:45.735Z","related":["openSUSE-SU-2026:11230-1"],"database_specific":{"cna_assigner":"curl","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8926.json","unresolved_ranges":[{"extracted_events":[{"introduced":"8.20.0"},{"last_affected":"8.20.0"},{"introduced":"8.19.0"},{"last_affected":"8.19.0"},{"introduced":"8.18.0"},{"last_affected":"8.18.0"},{"introduced":"8.17.0"},{"last_affected":"8.17.0"},{"introduced":"8.16.0"},{"last_affected":"8.16.0"},{"introduced":"8.15.0"},{"last_affected":"8.15.0"},{"introduced":"8.14.1"},{"last_affected":"8.14.1"},{"introduced":"8.14.0"},{"last_affected":"8.14.0"},{"introduced":"8.13.0"},{"last_affected":"8.13.0"},{"introduced":"8.12.1"},{"last_affected":"8.12.1"},{"introduced":"8.12.0"},{"last_affected":"8.12.0"},{"introduced":"8.11.1"},{"last_affected":"8.11.1"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://curl.se/docs/CVE-2026-8926.html"},{"type":"WEB","url":"https://curl.se/docs/CVE-2026-8926.json"},{"type":"WEB","url":"https://hackerone.com/reports/3735184"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8926.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8926"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/curl/curl","events":[{"introduced":"75a2079d5c28debb2eaa848ca9430f1fe0d7844c"},{"fixed":"68720b4837284335b2d63cb358f8f6ce65f5bc55"}],"database_specific":{"extracted_events":[{"introduced":"8.11.1"},{"fixed":"8.21.0"}],"cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","source":"CPE_RANGE"}}],"versions":["rc-8_21_0-3","rc-8_21_0-2","rc-8_21_0-1","curl-8_20_0","rc-8_20_0-3","rc-8_20_0-2","rc-8_20_0-1","curl-8_19_0","rc-8_19_0-3","rc-8_19_0-2","rc-8_19_0-1","curl-8_18_0","rc-8_18_0-3","rc-8_18_0-2","rc-8_18_0-1","curl-8_17_0","curl-8_16_0","curl-8_15_0","curl-8_14_1","curl-8_14_0","curl-8_13_0","curl-8_12_1","curl-8_12_0","curl-8_11_1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8926.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}