CVE-2026-3783
token leak with redirect and netrc
Reported by curl · Published March 11, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libcurl-debuginfo | errata.rockylinux.org | 0:8.12.1-9.el10_3.x86_64, 0:8.12.1-9.el10_3.s390x |
| curl-debuginfo | errata.rockylinux.org | 0:8.12.1-9.el10_3.x86_64 |
| curl-minimal-debuginfo | errata.rockylinux.org | 7.76.1-40.el9, 0:7.76.1-44.el9_9.1.x86_64, 0:7.76.1-44.el9_9.1.aarch64 |
| libcurl-devel | errata.rockylinux.org | 7.76.1-40.el9, 0:8.12.1-9.el10_3.x86_64, 0:8.12.1-9.el10_3.aarch64, 0:7.76.1-44.el9_9.1.ppc64le, 0:7.76.1-44.el9_9.1.aarch64 |
| curl-minimal | errata.rockylinux.org | 7.76.1-40.el9, 0:7.76.1-44.el9_9.1.s390x, 0:7.76.1-44.el9_9.1.aarch64 |
| libcurl-minimal-debuginfo | errata.rockylinux.org | 7.76.1-40.el9, 0:8.12.1-9.el10_3.ppc64le, 0:7.76.1-44.el9_9.1.x86_64, 0:7.76.1-44.el9_9.1.i686 |
| curl | errata.rockylinux.org | 7.76.1-40.el9, 0:8.12.1-9.el10_3.src, 0:8.12.1-9.el10_3.s390x, 0:8.12.1-9.el10_3.ppc64le, 0:7.76.1-44.el9_9.1.src, 0:7.76.1-44.el9_9.1.s390x |
| libcurl | errata.rockylinux.org | 7.76.1-40.el9, 0:8.12.1-9.el10_3.ppc64le, 0:7.76.1-44.el9_9.1.x86_64, 0:7.76.1-44.el9_9.1.i686 |
| libcurl-minimal | errata.rockylinux.org | 0:8.12.1-9.el10_3.x86_64 |
| curl-debugsource | errata.rockylinux.org | 7.76.1-40.el9, 0:7.76.1-44.el9_9.1.aarch64 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| curl | curl | 7.33.0, 8.15.0, 8.17.0 |
| curl | curl | 06c1bea72faabb6fad4b7ef818aafaa336c9a7aa |
| curl | curl | 8.18.0, 8.17.0, 8.16.0 |
| curl | curl | 7.33.0, 7.36.0, 7.35.0 |
| alpine | curl | 0, 0, 0 |
Timeline
- Mar 11, 2026 EPSS Score (30 in total, the first dated here)
- Mar 11, 2026 PoC Published (2 in total, the first dated here)
- Mar 11, 2026 CVE Published
- Mar 22, 2026 Coalition ESS Score (5 in total, the first dated here)
- Jun 2, 2026 Security Advisory (12 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-3783
vulnetix vdb fixes CVE-2026-3783
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-3783/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart