curl HTTP Redirect Leaks OAuth2 Bearer Token
CVE-2026-3783 Published on March 11, 2026

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

NVD


Products Associated with CVE-2026-3783

Want to know whenever a new CVE is published for Haxx Curl? stack.watch will email you.

 

Affected Versions

curl: