When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a cross-protocol redirect to a second URL that uses an IMAP, LDAP, POP3 or SMTP scheme, curl might wrongly pass on the bearer token to the new target host.
{
"last_affected": "8.17.0",
"URL": "https://curl.se/docs/CVE-2025-14524.json",
"award": {
"currency": "USD",
"amount": "505"
},
"affects": "both",
"issue": "https://hackerone.com/reports/3459417",
"www": "https://curl.se/docs/CVE-2025-14524.html",
"CWE": {
"desc": "Insufficiently Protected Credentials",
"id": "CWE-522"
},
"severity": "Low",
"package": "curl"
}"https://curl.se/docs/CURL-CVE-2025-14524.json"
[
{
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"206227627013705818388421116095464280275",
"146445018200798695659894282886989332010",
"73137026632638984080970357216391271479",
"20180869616707082726044560042120516718",
"297804764287478899455851841748028963067",
"75500228844593104379061953534717048700",
"310934647514053912658054552670061024950",
"120650008394980476833413788340692501428"
],
"threshold": 0.9
},
"source": "https://github.com/curl/curl.git/commit/1a822275d333dc6da6043497160fd04c8fa48640",
"id": "CURL-CVE-2025-14524-1419737b",
"target": {
"file": "lib/curl_sasl.c"
}
},
{
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"function_hash": "208767605308290121900945290777100662394",
"length": 489.0
},
"source": "https://github.com/curl/curl.git/commit/1a822275d333dc6da6043497160fd04c8fa48640",
"id": "CURL-CVE-2025-14524-22368e97",
"target": {
"file": "lib/curl_sasl.c",
"function": "sasl_choose_oauth2"
}
},
{
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"function_hash": "191750539846852921826204324538456858850",
"length": 633.0
},
"source": "https://github.com/curl/curl.git/commit/1a822275d333dc6da6043497160fd04c8fa48640",
"id": "CURL-CVE-2025-14524-77b7df11",
"target": {
"file": "lib/curl_sasl.c",
"function": "sasl_choose_oauth"
}
}
]