Vulnerability · Published Jul 3, 2026 · Assigned by curl

CVE-2026-8926password leak with netrc and user in URL

Critical 9.1

In plain English

A critical-severity security flaw in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.4%top 61.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10curl8.12.1-4.el10_2.6ALSA-2026:69125
AlmaLinux:10libcurl8.12.1-4.el10_2.6ALSA-2026:69125
AlmaLinux:10libcurl-devel8.12.1-4.el10_2.6ALSA-2026:69125
AlmaLinux:10libcurl-minimal8.12.1-4.el10_2.6ALSA-2026:69125
Alpine:v3.23curl8.22.0-r0ALPINE-CVE-2026-8926
Alpine:v3.24curl8.21.0-r0ALPINE-CVE-2026-8926
Debian:13curlno fix listedDEBIAN-CVE-2026-8926
Debian:14curl8.21.0~rc2-1DEBIAN-CVE-2026-8926
Rocky Linux:10curl0:8.12.1-4.el10_2.6RLSA-2026:69125
Ubuntu:25.10curl8.14.1-2ubuntu1.4UBUNTU-CVE-2026-8926
Ubuntu:26.04:LTScurl8.18.0-1ubuntu2.2UBUNTU-CVE-2026-8926

Affected products (as reported)

VendorProductVersions
curl curl 8.11.1 – before 8.14.28.15.0 – before 8.16.18.17.0 – before 8.20.1
curl curl e9b9bbac22c26cf67316fa8e6c6b9e831af31949 – before 4ae1d7cc2643e4773a136395f12bc02fc6867854
curl curl 8.20.08.19.08.18.08.17.08.16.08.15.08.14.18.14.0

Weakness: CWE-522 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References