CVE-2025-14524: OAuth2 Bearer Token Disclosure via Cross-Protocol Redirects in curl
- Vendor
- Haxx
CVE-2025-14524 is a credential-disclosure vulnerability in curl's handling of cross-protocol redirects. When an HTTP or HTTPS transfer uses an OAuth2 bearer token and follows a redirect to an IMAP, LDAP, POP3, or SMTP URL, curl may incorrectly forward the token to the new target host. This exposes authentication credentials to an unintended recipient.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality of the OAuth2 bearer token. A recipient may replay a still-valid token against services that accept it, obtaining access within the token's permissions and scope. The vulnerability does not itself establish code execution, privilege escalation, or service disruption.
Mitigation
If you can’t patch tonight, do this now.
Disable automatic redirect following for bearer-authenticated transfers, or restrict redirect protocols to HTTP and HTTPS. Validate redirect destinations against trusted hosts before following them, and prevent untrusted responses from redirecting authenticated transfers to IMAP, LDAP, POP3, or SMTP targets. Avoid supplying bearer tokens to transfers whose redirect behavior cannot be constrained.
Remediation
Patch, then assume compromise.
Install vendor-provided security updates for curl, libcurl, and affected bundled copies. Identified fixed package versions include Gentoo curl 8.23.0 or later and Echo curl 1:8.14.1-2+deb13u3+e2 or later. For other distributions and products, apply the corresponding vendor update; these package versions are not universal upstream fix boundaries.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-14524 exploited in the wild?
- As of Nov 26, 2026, Mallory has no reports of CVE-2025-14524 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-14524?
- Yes. As of Nov 26, 2026, Mallory has reports of a public exploit for CVE-2025-14524.
- Is there a patch for CVE-2025-14524?
- Install vendor-provided security updates for curl, libcurl, and affected bundled copies. Identified fixed package versions include Gentoo curl 8.23.0 or later and Echo curl 1:8.14.1-2+deb13u3+e2 or later.
- What products are affected by CVE-2025-14524?
- Haxx Curl.
- How severe is CVE-2025-14524?
- CVE-2025-14524 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 0.68% (48th percentile) as of Nov 26, 2026.
Recent activity
69 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.