bearer token leak on cross-protocol redirect (curl curl)

CVE-2025-14524
MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.68 % · percentile 52 ()
State
PUBLISHED
Published
Updated
Assigner
curl
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-522 — Insufficiently Protected Credentials
  • CWE-601 — URL Redirection to Untrusted Site

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NCISA-ADP
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
curl · curlaffected 7.33.0 < 8.14.2 ; affected 8.15.0 < 8.16.1 ; affected 8.17.0 < 8.18.0
curl · curlaffected 06c1bea72faabb6fad4b7ef818aafaa336c9a7aa < 1a822275d333dc6da6043497160fd04c8fa48640
curl · curlaffected 8.17.0 ; affected 8.16.0 ; affected 8.15.0 ; affected 8.14.1 ; affected 8.14.0 ; affected 8.13.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD