# CVE-2026-3783: token leak with redirect and netrc

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-11T08:00:00.000Z
- Modified: 2026-10-25T01:05:19.767Z
- Also known as: CURL-CVE-2026-3783
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: curl

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

(As written by CVE List.)

## Affected

- curl curl: from 7.33.0 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.19.0; from 06c1bea72faabb6fad4b7ef818aafaa336c9a7aa before e3d7401a32a46516c9e5ee877e613e62ed35bddc; 8.18.0; 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; 8.13.0; 8.12.1; and 100 more
- https://github.com/curl/curl.git: from 7.33.0 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.19.0; from 06c1bea72faabb6fad4b7ef818aafaa336c9a7aa before e3d7401a32a46516c9e5ee877e613e62ed35bddc
- haxx curl: from 7.33.0 before 8.19.0

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- curl: rating Medium

## References

- <https://hackerone.com/reports/3583983> (exploit, issue-tracking, third-party-advisory)
- <https://curl.se/docs/CVE-2026-3783.json> (vendor-advisory)
- <https://curl.se/docs/CVE-2026-3783.html> (patch, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/03/11/2> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-3783](https://www.cve.org/CVERecord?id=CVE-2026-3783), CVE Terms of Use, modified 2026-09-15
- curl: [CURL-CVE-2026-3783](https://osv.dev/vulnerability/CURL-CVE-2026-3783), MIT, modified 2026-10-25
- NVD: [CVE-2026-3783](https://nvd.nist.gov/vuln/detail/CVE-2026-3783), Public domain, modified 2026-09-15

---

Page: https://cve.day/CVE-2026-3783 · Whole record: https://cve.day/CVE-2026-3783.json · Rebuilt by cve.day 2026-11-25T22:59:15.730Z
