Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-8926 EUVD-2026-41507GHSA-vw2x-3w8j-rq82

password leak with netrc and user in URL

Published Jul 3, 2026 · Updated Sep 15, 2026 · Assigned by curl

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 products

VendorProductAffectedFixed
curl curl 8.11.1 – < 8.14.2, 8.15.0 – < 8.16.1, 8.17.0 – < 8.20.1, 8.20.0, 8.19.0, 8.18.0, 8.17.0, 8.16.0, 8.15.0, 8.14.1, 8.14.0, 8.13.0, 8.12.1, 8.12.0, 8.11.1 8.14.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 8.21.0~rc2-1 —
Debian 13 curl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS curl 8.18.0-1ubuntu2.2 —
Ubuntu 25.10 curl 8.14.1-2ubuntu1.4 —
ReleasePackageFixed inAdvisory
RHEL 10 curl +3 8.12.1-4.el10_2.6 RHSA-2026:69125
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS curl +3 8.12.1-1.el10_0.10 RHSA-2026:72506
Red Hat Hardened Images 1 curl +3 8.21.0-0.1.hum1 RHSA-2026:29017
Red Hat Hardened Images 1 rust +18 1.96.1-1.hum1 RHSA-2026:34975

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 curl +3 8.12.1-4.el10_2.6 ALSA-2026:69125

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 curl 8.12.1-4.el10_2.6 RLSA-2026:69125
ReleasePackageFixed inAdvisory
SLES 15 SP7 curl 8.14.1-150700.7.23.1 SUSE-SU-2026:3798-1
SLES 15 SP6 curl 8.14.1-150600.4.51.1 SUSE-SU-2026:4047-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 curl +1 8.14.1-160000.9.1 SUSE-SU-2026:23638-1
SLES for SAP 15 SP6 curl 8.14.1-150600.4.51.1 SUSE-SU-2026:4047-1
SLES 16.0 curl +1 8.14.1-160000.9.1 SUSE-SU-2026:23638-1
SLE Micro 6.2 curl 8.14.1-160000.9.1 SUSE-SU-2026:23498-1
SLE Micro 6.1 curl 8.14.1-slfo.1.1_9.1 SUSE-SU-2026:23350-1
SLE Micro 6.0 curl 8.14.1-8.1 SUSE-SU-2026:23361-1
SLE Micro 5.5 curl 8.14.1-150400.5.91.1 SUSE-SU-2026:3958-1
SLE Micro 5.4 curl 8.14.1-150400.5.91.1 SUSE-SU-2026:3958-1
SLE Micro 5.3 curl 8.14.1-150400.5.91.1 SUSE-SU-2026:3958-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.21.0-1.1 openSUSE-SU-2026:11230-1
openSUSE Leap 16.0 curl 8.14.1-160000.9.1 openSUSE-SU-2026:21774-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.21.0-r0 —
Alpine v3.23 curl 8.22.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 8.21.0-5.amzn2023.0.1 ALAS2023-2026-2132

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 curl 8.11.1-10 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 curl +3 8.12.1-4.el10_2.6 ELSA-2026-69125

Advisories 18

References