PT-2026-24663 · Curl+2 · Curl+2
Daniel Stenberg
·
Published
2026-03-11
·
Updated
2026-03-26
·
CVE-2026-3783
CVSS v3.1
5.3
Medium
| AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
curl (affected versions not specified)
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 certain circumstances. Specifically, if the hostname that the first request is redirected to has information in the used .netrc file, with either the
machine or default keywords, curl would pass on the bearer token set for the first host to the second one. The .netrc file is a configuration file that stores usernames and passwords for various network services. The vulnerability occurs when curl incorrectly shares the bearer token with a redirected host that has corresponding entries in the .netrc file.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Insufficiently Protected Credentials
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Ubuntu
Curl