The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • 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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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
    • Singularity Identity
      Identity Threat Detection and Response
    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
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • 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
      DFIR, Breach Readiness, & Compromise Assessments
    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
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • 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-2026-4873

CVE-2026-4873: Haxx Curl Auth Bypass Vulnerability

CVE-2026-4873 is an authentication bypass flaw in Haxx Curl where TLS-required connections incorrectly reuse unencrypted connections. This post covers the technical details, affected versions, impact, and mitigation.

Published: May 17, 2026

CVE-2026-4873 Overview

CVE-2026-4873 is a vulnerability in the cURL library where a connection requiring Transport Layer Security (TLS) incorrectly reuses an existing unencrypted connection from the same connection pool. When an initial transfer occurs in clear-text via Internet Message Access Protocol (IMAP), Simple Mail Transfer Protocol (SMTP), or Post Office Protocol 3 (POP3), a subsequent request to the same host bypasses the TLS requirement. The follow-up request transmits data unencrypted over the existing socket. The flaw maps to CWE-295 (Improper Certificate Validation) and CWE-319 (Cleartext Transmission of Sensitive Information).

Critical Impact

Credentials and message contents intended for TLS-protected mail protocol sessions can transit the network in cleartext, exposing them to network-positioned attackers.

Affected Products

  • Haxx cURL (command-line tool)
  • libcurl (client-side URL transfer library)
  • Applications and runtimes that embed libcurl for IMAP, SMTP, or POP3 transfers

Discovery Timeline

  • 2026-04-29 - Vulnerability discussed on the OpenWall oss-security list
  • 2026-05-13 - CVE-2026-4873 published to the National Vulnerability Database (NVD)
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-4873

Vulnerability Analysis

The defect lives in libcurl's connection pool reuse logic for mail protocols. cURL maintains a pool of established connections to avoid the cost of reopening sockets and renegotiating sessions. When a new transfer requests the same host, libcurl searches the pool for a compatible connection. The matching logic fails to treat the TLS requirement as a strict differentiator for IMAP, SMTP, and POP3.

As a result, a transfer initiated with imaps://, smtps://, pop3s://, or one requesting STARTTLS upgrade can be bound to a previously opened cleartext socket. The library skips the TLS handshake because it considers the connection already established. Authentication credentials, message bodies, and protocol commands then traverse the network without encryption. This breaks the security contract implied by the URL scheme or the explicit TLS option supplied by the calling application.

Root Cause

The connection matching code does not enforce that pooled connections used for a TLS-required transfer must themselves be TLS-protected. The pool key omits the TLS state for IMAP, SMTP, and POP3, allowing a non-TLS socket to satisfy a TLS-required lookup.

Attack Vector

Exploitation requires an attacker positioned to observe network traffic between the cURL-based client and the targeted mail server. The attacker also needs the client to perform an initial cleartext transfer to the same host before issuing the TLS-required transfer in the same process. Given the high attack complexity reflected in the vector string, the conditions are non-trivial but realistic in multi-tenant or proxy-mediated environments.

No exploit code is publicly available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Refer to the cURL CVE-2026-4873 Documentation and HackerOne Report #3621851 for protocol-level details.

Detection Methods for CVE-2026-4873

Indicators of Compromise

  • Outbound IMAP (TCP/143), SMTP (TCP/25, 587), or POP3 (TCP/110) sessions carrying authentication commands such as LOGIN, AUTH PLAIN, or USER/PASS to hosts that should only be reached via TLS
  • Mail server access logs showing successful authentications over cleartext ports from hosts that normally use IMAPS (993), SMTPS (465), or POP3S (995)
  • Absence of STARTTLS negotiation followed by cleartext AUTH exchanges within the same TCP session

Detection Strategies

  • Inspect network telemetry for cleartext credentials destined for hosts that also receive TLS-protected mail traffic from the same source
  • Audit applications that link against libcurl and verify the installed version against fixed releases listed in the cURL advisory
  • Run software composition analysis across container images and build artifacts to surface vulnerable libcurl versions

Monitoring Recommendations

  • Enable protocol-aware logging on mail gateways to flag plaintext AUTH over ports 25, 110, and 143
  • Forward DNS, NetFlow, and proxy logs to a centralized analytics platform to correlate cleartext mail sessions with the originating process or container
  • Alert on TLS handshake absence when the destination host has previously negotiated TLS with the same source within a defined window

How to Mitigate CVE-2026-4873

Immediate Actions Required

  • Upgrade curl and libcurl to the fixed version identified in the cURL CVE-2026-4873 Documentation
  • Inventory every application, container, and operating system image that ships libcurl and schedule patching for each
  • Rotate any IMAP, SMTP, or POP3 credentials that may have transited cleartext sessions from vulnerable clients

Patch Information

The cURL project published the fix and vendor advisory at curl.se/docs/CVE-2026-4873.html. Machine-readable metadata is available in the cURL CVE-2026-4873 JSON Data. Distributions that package libcurl will release backported updates; apply vendor patches as they become available.

Workarounds

  • Disable connection reuse for affected transfers by setting CURLOPT_FORBID_REUSE or invoking the cURL command-line tool with --no-keepalive for IMAP, SMTP, and POP3 sessions
  • Avoid mixing cleartext and TLS-required mail transfers to the same host within a single process lifetime
  • Enforce TLS at the network layer by blocking outbound cleartext mail ports (25, 110, 143) to external mail servers and requiring submission over 465, 587 with TLS, or 993/995
bash
# Configuration example: force a fresh connection for TLS-required mail transfers
curl --no-keepalive \
     --ssl-reqd \
     smtp://mail.example.com:587 \
     --mail-from sender@example.com \
     --mail-rcpt recipient@example.com \
     --upload-file message.eml \
     --user 'sender@example.com:REDACTED'

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechHaxx Curl

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-295

  • CWE-319
  • Technical References
  • HackerOne Report #3621851
  • Vendor Resources
  • cURL CVE-2026-4873 Documentation

  • cURL CVE-2026-4873 JSON Data

  • OpenWall OSS Security Discussion
  • Related CVEs
  • CVE-2026-7168: Haxx Curl Auth Bypass Vulnerability

  • CVE-2026-5545: Haxx Curl Auth Bypass Vulnerability

  • CVE-2026-1965: Haxx Curl Auth Bypass Vulnerability

  • CVE-2026-3784: Haxx Curl Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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
  • 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

English