Vulnerability · Published Mar 11, 2026 · Assigned by curl

CVE-2026-3783token leak with redirect and netrc

Medium 5.3

In plain English

A medium-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.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 57.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a redirect to a second URL, curl could leak that token to the second hostname under some circumstances. If the hostname that the first request is redirected to has information in the used .netrc file, with either of the `machine` or `default` keywords, curl would pass on the bearer token set for the first host also to the second one.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9curl7.76.1-40.el9_8.5ALSA-2026:55439
AlmaLinux:9curl-minimal7.76.1-40.el9_8.5ALSA-2026:55439
AlmaLinux:9libcurl7.76.1-40.el9_8.5ALSA-2026:55439
AlmaLinux:9libcurl-devel7.76.1-40.el9_8.5ALSA-2026:55439
AlmaLinux:9libcurl-minimal7.76.1-40.el9_8.5ALSA-2026:55439
Alpine:v3.21curl8.14.1-r3ALPINE-CVE-2026-3783
Alpine:v3.22curl8.14.1-r4ALPINE-CVE-2026-3783
Alpine:v3.23curl8.19.0-r0ALPINE-CVE-2026-3783
Alpine:v3.24curl8.19.0-r0ALPINE-CVE-2026-3783
Debian:12curl7.88.1-10+deb12u15DEBIAN-CVE-2026-3783
Debian:13curl8.14.1-2+deb13u4DEBIAN-CVE-2026-3783
Debian:14curl8.19.0-1DEBIAN-CVE-2026-3783
Rocky Linux:9curl0:7.76.1-40.el9_8.5RLSA-2026:55439
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.23USN-8084-1
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.23UBUNTU-CVE-2026-3783
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.8USN-8084-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.8UBUNTU-CVE-2026-3783
Ubuntu:25.10curl8.14.1-2ubuntu1.2UBUNTU-CVE-2026-3783
Ubuntu:25.10curl8.14.1-2ubuntu1.2USN-8084-1
Ubuntu:26.04:LTScurl8.18.0-1ubuntu2UBUNTU-CVE-2026-3783
Ubuntu:26.10curl8.18.0-1ubuntu2UBUNTU-CVE-2026-3783

Affected products (as reported)

VendorProductVersions
curl curl 7.33.0 – before 8.14.28.15.0 – before 8.16.18.17.0 – before 8.19.0
curl curl 06c1bea72faabb6fad4b7ef818aafaa336c9a7aa – before e3d7401a32a46516c9e5ee877e613e62ed35bddc
curl curl 8.18.08.17.08.16.08.15.08.14.18.14.08.13.08.12.1

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

References