CVE-2026-3783token leak with redirect and netrc
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | curl | Fixed | 8.18.0-1ubuntu2 | UBUNTU-CVE-2026-3783 |
| Ubuntu 26.04 | curl | Fixed | 8.18.0-1ubuntu2 | UBUNTU-CVE-2026-3783 |
| Ubuntu 25.10 | curl | Fixed | 8.14.1-2ubuntu1.2 | UBUNTU-CVE-2026-3783 |
| Ubuntu 24.04 | curl | Fixed | 8.5.0-2ubuntu10.8 | UBUNTU-CVE-2026-3783 |
| Ubuntu 22.04 | curl | Fixed | 7.81.0-1ubuntu1.23 | UBUNTU-CVE-2026-3783 |
| Ubuntu 20.04 | curl | Fix pending | 7.68.0-1ubuntu2.25+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-3783 |
| Debian 14 | curl | Fixed | 8.19.0-1 | DEBIAN-CVE-2026-3783 |
| Debian 13 | curl | Fixed | 8.14.1-2+deb13u4 | DEBIAN-CVE-2026-3783 |
| Debian 12 | curl | Fixed | 7.88.1-10+deb12u15 | DEBIAN-CVE-2026-3783 |
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | curl | Fixed | 0:8.12.1-9.el10_3 | RHSA-2026:55450 |
| Red Hat Enterprise Linux 10 | libcurl | Fixed | 0:8.12.1-4.el10_2.3 | RHSA-2026:100685 |
| Red Hat Enterprise Linux 10 | libcurl-devel | Fixed | 0:8.12.1-4.el10_2.3 | RHSA-2026:100685 |
| Red Hat Enterprise Linux 10 | libcurl-minimal | Fixed | 0:8.12.1-9.el10_3 | RHSA-2026:55450 |
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-base | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-chreipl-fcp-mpath | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-cmsfs-fuse | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-core | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-cpacfstatsd | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-cpuplugd | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-hmcdrvfs | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-iucvterm | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-mon_statd | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-osasnmpd | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-se-data | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-zdsfs | Not affected | ||
| Red Hat Enterprise Linux 10 | s390utils-ziomon | Not affected | ||
| Red Hat Enterprise Linux 10 | snphost | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | trustee-guest-components | Not affected | ||
| Red Hat Enterprise Linux 10 | trustee-kbs | Not affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | curl | Fixed | 0:7.76.1-40.el9_8.5 | RHSA-2026:100686 |
| Red Hat Enterprise Linux 9 | curl-minimal | Fixed | 0:7.76.1-44.el9_9.1 | RHSA-2026:55439 |
| Red Hat Enterprise Linux 9 | libcurl | Fixed | 0:7.76.1-40.el9_8.5 | RHSA-2026:100686 |
| Red Hat Enterprise Linux 9 | libcurl-devel | Fixed | 0:7.76.1-44.el9_9.1 | RHSA-2026:55439 |
| Red Hat Enterprise Linux 9 | libcurl-minimal | Fixed | 0:7.76.1-44.el9_9.1 | RHSA-2026:55439 |
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | snphost | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | trustee-guest-components | Not affected | ||
| Red Hat Enterprise Linux 8 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libcurl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libcurl-minimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libcurl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | curl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libcurl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libcurl-devel | Fix pending Fix deferred | ||
| AlmaLinux 10 | curl | Fixed | 8.12.1-9.el10_3 | ALSA-2026:100685 |
| AlmaLinux 10 | libcurl | Fixed | 8.12.1-9.el10_3 | ALSA-2026:100685 |
| AlmaLinux 10 | libcurl-devel | Fixed | 8.12.1-9.el10_3 | ALSA-2026:100685 |
| AlmaLinux 10 | libcurl-minimal | Fixed | 8.12.1-9.el10_3 | ALSA-2026:100685 |
| AlmaLinux 9 | curl | Fixed | 7.76.1-40.el9_8.5 | ALSA-2026:100686 |
| AlmaLinux 9 | curl-minimal | Fixed | 7.76.1-44.el9_9.1 | ALSA-2026:55439 |
| AlmaLinux 9 | libcurl | Fixed | 7.76.1-44.el9_9.1 | ALSA-2026:55439 |
| AlmaLinux 9 | libcurl-devel | Fixed | 7.76.1-40.el9_8.5 | ALSA-2026:100686 |
| AlmaLinux 9 | libcurl-minimal | Fixed | 7.76.1-44.el9_9.1 | ALSA-2026:55439 |
| Rocky Linux 10 | curl | Fixed | 0:8.12.1-9.el10_3 | RLSA-2026:100685 |
| Rocky Linux 10 | libcurl | Fixed | 0:8.12.1-9.el10_3 | RLSA-2026:100685 |
| Rocky Linux 10 | libcurl-devel | Fixed | 0:8.12.1-9.el10_3 | RLSA-2026:100685 |
| Rocky Linux 10 | libcurl-minimal | Fixed | 0:8.12.1-9.el10_3 | RLSA-2026:100685 |
| Rocky Linux 9 | curl | Fixed | 0:7.76.1-44.el9_9.1 | RLSA-2026:55439 |
| Rocky Linux 9 | curl-minimal | Fixed | 0:7.76.1-44.el9_9.1 | RLSA-2026:100686 |
| Rocky Linux 9 | libcurl | Fixed | 0:7.76.1-44.el9_9.1 | RLSA-2026:100686 |
| Rocky Linux 9 | libcurl-devel | Fixed | 0:7.76.1-44.el9_9.1 | RLSA-2026:100686 |
| Rocky Linux 9 | libcurl-minimal | Fixed | 0:7.76.1-44.el9_9.1 | RLSA-2026:100686 |
| Alpine Linux 3.24 | curl | Fixed | 8.19.0-r0 | ALPINE-CVE-2026-3783 |
| Alpine Linux 3.23 | curl | Fixed | 8.19.0-r0 | ALPINE-CVE-2026-3783 |
| Alpine Linux 3.22 | curl | Fixed | 8.14.1-r4 | ALPINE-CVE-2026-3783 |
| Alpine Linux 3.21 | curl | Fixed | 8.14.1-r3 | ALPINE-CVE-2026-3783 |
What the vendor says
As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- curl: affected: 7.33.0 to before 8.14.2, 8.15.0 to before 8.16.1, 8.17.0 to before 8.19.0; fixed in
8.14.2,8.16.1,8.19.0 - curl: affected: 06c1bea72faabb6fad4b7ef818aafaa336c9a7aa to before e3d7401a32a46516c9e5ee877e613e62ed35bddc
- curl: affected: 8.18.0, 8.17.0, 8.16.0, 8.15.0, 8.14.1, 8.14.0
References
- https://curl.se/docs/CVE-2026-3783.json
- https://curl.se/docs/CVE-2026-3783.html
- https://hackerone.com/reports/3583983
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.