A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly ingest data from on-prem, cloud or hybrid environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-class Expertise and Threat Intelligence.
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      Digital Forensics, IRR & Breach Readiness
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive solutions for seamless security operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your go-to source for our top partners in your region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-14524

CVE-2025-14524: curl OAuth2 Token Disclosure Vulnerability

CVE-2025-14524 is an information disclosure flaw in curl where OAuth2 bearer tokens may leak during cross-protocol redirects. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-14524 Overview

CVE-2025-14524 is an information disclosure vulnerability in cURL that affects how OAuth2 bearer tokens are handled during cross-protocol redirects. When an HTTP(S) transfer using OAuth2 bearer token authentication is redirected to a URL using a different protocol scheme (IMAP, LDAP, POP3, or SMTP), cURL may incorrectly pass the bearer token to the new target host. This behavior could allow an attacker to capture sensitive authentication credentials by exploiting redirect mechanisms.

Critical Impact

OAuth2 bearer tokens may be inadvertently leaked to unauthorized hosts when cURL follows cross-protocol redirects, potentially enabling credential theft and unauthorized access to protected resources.

Affected Products

  • cURL (specific affected versions to be confirmed via vendor advisory)
  • libcurl implementations
  • Applications and services utilizing cURL for HTTP transfers with OAuth2 authentication

Discovery Timeline

  • 2026-01-07 - Vulnerability disclosed via Openwall OSS-Security Discussion
  • 2026-01-08 - CVE CVE-2025-14524 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-14524

Vulnerability Analysis

This vulnerability represents an improper credential handling flaw in cURL's redirect processing logic. The core issue stems from insufficient validation when cURL encounters a cross-protocol redirect during an authenticated HTTP(S) session. OAuth2 bearer tokens, which are designed specifically for HTTP-based authentication, should not be transmitted over non-HTTP protocols such as IMAP, LDAP, POP3, or SMTP.

When a redirect occurs from an HTTPS endpoint to a URL using one of these alternative protocol schemes, cURL fails to properly sanitize the authentication context. This results in the bearer token being passed along with the redirect request to the new protocol handler, potentially exposing the token to unintended recipients or logging systems.

Root Cause

The root cause lies in cURL's redirect handling mechanism, which does not adequately distinguish between protocol-appropriate and protocol-inappropriate authentication credentials. The OAuth2 bearer token authentication context is maintained across redirects without validating whether the target protocol supports or should receive such credentials. This represents a failure in the principle of least privilege for credential transmission.

Attack Vector

An attacker could exploit this vulnerability by:

  1. Setting up a malicious server that responds to HTTP(S) requests with a redirect to an attacker-controlled IMAP, LDAP, POP3, or SMTP server
  2. Tricking a victim application using cURL with OAuth2 authentication into making a request to the initial HTTP(S) endpoint
  3. When cURL follows the cross-protocol redirect, the bearer token is transmitted to the attacker's server
  4. The attacker captures the OAuth2 bearer token and can use it to impersonate the victim

The attack requires the ability to influence redirect responses from servers that the victim application trusts, or to perform man-in-the-middle attacks on unencrypted connections. Applications that automatically follow redirects without protocol validation are particularly susceptible.

Detection Methods for CVE-2025-14524

Indicators of Compromise

  • Unexpected IMAP, LDAP, POP3, or SMTP connections originating from systems that typically only perform HTTP(S) transfers
  • OAuth2 bearer tokens appearing in non-HTTP protocol traffic logs
  • Authentication failures following legitimate HTTP requests that were unexpectedly redirected
  • Suspicious redirect responses in web server or proxy logs directing traffic to non-HTTP protocols

Detection Strategies

  • Monitor network traffic for cross-protocol redirects, particularly HTTP(S) to IMAP, LDAP, POP3, or SMTP
  • Implement logging for cURL operations to track redirect chains and protocol transitions
  • Review application logs for unexpected authentication token transmission patterns
  • Deploy network-based detection rules to identify bearer tokens in non-HTTP protocol traffic

Monitoring Recommendations

  • Enable verbose logging in applications using libcurl to capture redirect behavior
  • Implement security information and event management (SIEM) rules to detect cross-protocol redirect patterns
  • Monitor for anomalous outbound connections to mail (IMAP, POP3, SMTP) and directory (LDAP) services from web application servers

How to Mitigate CVE-2025-14524

Immediate Actions Required

  • Review the cURL CVE-2025-14524 Advisory for specific patch information and affected versions
  • Update cURL and libcurl to the latest patched version when available
  • Audit applications using cURL with OAuth2 authentication for redirect handling configurations
  • Consider disabling automatic redirect following in sensitive authentication contexts

Patch Information

The cURL project has published a security advisory addressing this vulnerability. Administrators should consult the cURL CVE-2025-14524 Advisory for specific version information and patch downloads. The HackerOne Report #3459417 contains additional technical details about the vulnerability discovery.

Workarounds

  • Configure cURL to disable automatic redirect following using CURLOPT_FOLLOWLOCATION set to 0 or the -L flag removed from command-line usage
  • Implement application-level validation of redirect destinations before following them
  • Restrict allowed protocols using CURLOPT_PROTOCOLS or CURLOPT_REDIR_PROTOCOLS to prevent cross-protocol redirects
  • Use network-level controls to block unexpected outbound IMAP, LDAP, POP3, and SMTP connections from web application servers
bash
# Configuration example - Restrict redirect protocols in cURL
# Use --proto-redir to limit which protocols cURL will redirect to
curl --proto-redir '=https,http' --oauth2-bearer "token" https://example.com/api

# In libcurl applications, set CURLOPT_REDIR_PROTOCOLS to restrict redirect protocols
# CURLOPT_REDIR_PROTOCOLS = CURLPROTO_HTTP | CURLPROTO_HTTPS

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechCurl

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • cURL CVE-2025-14524 Advisory

  • cURL CVE-2025-14524 JSON Data

  • HackerOne Report #3459417

  • Openwall OSS-Security Discussion
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use