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
    • 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-2023-27538

CVE-2023-27538: Haxx Libcurl Auth Bypass Vulnerability

CVE-2023-27538 is an authentication bypass flaw in Haxx Libcurl that allows inappropriate SSH connection reuse when security settings change. This article covers the technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-27538 Overview

An authentication bypass vulnerability exists in libcurl prior to version 8.0.0 where it improperly reuses a previously established SSH connection despite the fact that an SSH option was modified, which should have prevented reuse. libcurl maintains a pool of previously used connections to reuse them for subsequent transfers if the configurations match. However, two SSH settings were omitted from the configuration check, allowing them to match easily, potentially leading to the reuse of an inappropriate connection with different authentication credentials than intended.

Critical Impact

This vulnerability could allow local attackers to bypass authentication mechanisms by exploiting improper SSH connection reuse, potentially gaining unauthorized access to sensitive information through reused connections that should have required re-authentication.

Affected Products

  • Haxx libcurl (versions prior to 8.0.0)
  • Fedora 36
  • Debian Linux 10.0
  • NetApp Active IQ Unified Manager (VMware vSphere)
  • NetApp Clustered Data ONTAP 9.0
  • Broadcom Brocade Fabric Operating System Firmware
  • NetApp H300S/H500S/H700S/H410S Firmware
  • Splunk Universal Forwarder (multiple versions including 9.1.0)

Discovery Timeline

  • 2023-03-30 - CVE-2023-27538 published to NVD
  • 2025-06-09 - Last updated in NVD database

Technical Details for CVE-2023-27538

Vulnerability Analysis

This authentication bypass vulnerability (CWE-305, CWE-287) stems from a flaw in libcurl's connection pooling mechanism specifically related to SSH connections. When libcurl establishes an SSH connection, it maintains this connection in a pool for potential reuse by subsequent transfer requests. The intent is to improve performance by avoiding the overhead of establishing new connections when the same server and configuration are used.

The vulnerability arises because two critical SSH configuration options were inadvertently excluded from the checks that determine whether a pooled connection can be safely reused. This oversight means that when an application modifies certain SSH authentication settings between transfers, libcurl may incorrectly determine that an existing connection is suitable for reuse when it should instead establish a new connection with the updated authentication parameters.

The impact of this vulnerability is primarily information disclosure, as an attacker with local access could potentially access data intended for a different authentication context. The local attack vector requires the attacker to have some level of access to the system running the vulnerable libcurl version.

Root Cause

The root cause of CVE-2023-27538 lies in incomplete validation logic within libcurl's connection reuse mechanism. When comparing the configuration of a new transfer request against pooled connections, the code failed to include all relevant SSH authentication parameters in the comparison. Specifically, two SSH settings were omitted from the configuration matching algorithm.

This incomplete comparison allowed connections to appear compatible when they were actually configured with different SSH authentication options, leading to inappropriate connection reuse that bypasses the intended authentication isolation between transfers.

Attack Vector

The attack requires local access to the system running the vulnerable libcurl library. An attacker could exploit this vulnerability by manipulating the sequence of SSH transfers in an application that uses libcurl's connection pooling feature. By carefully timing requests and modifying SSH authentication parameters, an attacker could cause the library to reuse a connection authenticated with different credentials than intended.

The exploitation scenario involves:

  1. An initial SSH connection being established with specific authentication credentials
  2. The connection being returned to the pool for potential reuse
  3. A subsequent request with modified SSH settings being incorrectly matched to the pooled connection
  4. The new request inheriting the authentication context of the original connection

Technical details are available in the HackerOne Report #1898475.

Detection Methods for CVE-2023-27538

Indicators of Compromise

  • Monitor for applications using libcurl versions prior to 8.0.0 with SSH transfer capabilities enabled
  • Review audit logs for unexpected SSH connection patterns or authentication anomalies
  • Check for processes making multiple SSH transfers with varying authentication configurations that may indicate exploitation attempts
  • Look for applications that utilize libcurl's connection pooling feature with SSH protocols

Detection Strategies

  • Implement software composition analysis (SCA) to identify systems running vulnerable libcurl versions
  • Deploy endpoint detection solutions capable of monitoring libcurl-based SSH connection behaviors
  • Use vulnerability scanners to identify affected systems across your infrastructure
  • Review application logs for signs of improper connection reuse or authentication context violations

Monitoring Recommendations

  • Configure logging to capture SSH connection establishment and reuse events in applications using libcurl
  • Monitor for unusual patterns in SSH authentication attempts that may indicate exploitation
  • Establish baseline metrics for SSH connection behavior to detect anomalies
  • Implement network monitoring to track SSH session durations and reuse patterns

How to Mitigate CVE-2023-27538

Immediate Actions Required

  • Upgrade libcurl to version 8.0.0 or later immediately on all affected systems
  • Identify all applications and systems using vulnerable libcurl versions through software inventory
  • Prioritize patching systems that perform SSH transfers using libcurl
  • Review and update any embedded systems or firmware that include vulnerable libcurl versions

Patch Information

The vulnerability has been addressed in libcurl version 8.0.0 and later. Organizations should apply vendor-specific patches according to their infrastructure:

  • Debian Linux: Security updates available via Debian LTS Announcement
  • Gentoo Linux: Patch available via Gentoo GLSA 202310-12
  • NetApp Products: Security advisory and patches available at NetApp Security Advisory NTAP-20230420-0010
  • Fedora: Update through standard package management channels

Workarounds

  • Disable SSH connection pooling in libcurl by setting CURLOPT_FRESH_CONNECT option to force new connections for each transfer
  • Implement application-level controls to manually manage SSH connection lifecycle
  • Consider using alternative SSH client libraries for critical authentication-sensitive operations until patching is complete
  • Restrict local access to systems running vulnerable libcurl versions to minimize attack surface
bash
# Configuration example for disabling connection reuse in curl CLI
curl --no-keepalive sftp://example.com/path/to/resource

# For applications using libcurl API, set CURLOPT_FRESH_CONNECT
# to force new connections and prevent connection pool reuse

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLibcurl

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

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

  • CWE-287
  • Technical References
  • HackerOne Report #1898475

  • Debian LTS Announcement

  • Gentoo GLSA 202310-12

  • NetApp Security Advisory NTAP-20230420-0010
  • Related CVEs
  • CVE-2023-27535: Haxx Libcurl Auth Bypass Vulnerability

  • CVE-2021-22890: Haxx Libcurl Auth Bypass Vulnerability

  • CVE-2023-27536: Haxx Libcurl Auth Bypass Vulnerability

  • CVE-2026-22026: CryptoLib KMC Client DoS Vulnerability
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
  • 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