What’s Vulnerable › Vulnerabilities

CVE-2025-14524: bearer token leak on cross-protocol redirect

Description

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.

Affected products

How to fix

Upgrade to a fixed version: curl 8.18.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-14524 or the next vulnerability affects your stack