{"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-09-18T03:33:30.728281918Z","published":"2026-07-03T06:15:45.735Z","related":["SUSE-SU-2026:23350-1","SUSE-SU-2026:23361-1","SUSE-SU-2026:23498-1","SUSE-SU-2026:3798-1","SUSE-SU-2026:3958-1","SUSE-SU-2026:4047-1","openSUSE-SU-2026:11230-1","openSUSE-SU-2026:21774-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8926.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"8.11.1"},{"fixed":"8.14.2"},{"introduced":"8.15.0"},{"fixed":"8.16.1"},{"introduced":"8.17.0"},{"fixed":"8.20.1"},{"introduced":"e9b9bbac22c26cf67316fa8e6c6b9e831af31949"},{"fixed":"4ae1d7cc2643e4773a136395f12bc02fc6867854"}]}],"cna_assigner":"curl","cwe_ids":["CWE-522"]},"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"},{"type":"PACKAGE","url":"https://github.com/curl/curl.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/curl/curl","events":[{"introduced":"a05f34973e6c4bb629d018f7cb51487be1c904d8"},{"fixed":"68720b4837284335b2d63cb358f8f6ce65f5bc55"}],"database_specific":{"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"},{"fixed":"8.21.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*"}}],"versions":["8.11.1","8.12.0","8.12.1","8.13.0","8.14.0","8.14.1","8.15.0","8.16.0","8.17.0","8.18.0","8.19.0","8.20.0","rc-8_21_0-3","rc-8_21_0-2","rc-8_21_0-1","curl-8_20_0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-8926.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}