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-2023-27535

CVE-2023-27535: Haxx Libcurl Auth Bypass Vulnerability

CVE-2023-27535 is an authentication bypass vulnerability in Haxx Libcurl affecting versions prior to 8.0.0. The FTP connection reuse flaw can cause wrong credentials to be used during transfers. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-27535 Overview

CVE-2023-27535 is an authentication bypass vulnerability in libcurl versions prior to 8.0.0 that affects the FTP connection reuse feature. The vulnerability occurs because the connection pool matching logic fails to properly validate certain FTP-specific settings, potentially allowing wrong credentials to be used during subsequent file transfers. This flaw can lead to unauthorized access to sensitive information when connections are improperly reused.

Critical Impact

Applications using libcurl for FTP transfers may inadvertently use incorrect credentials due to overly permissive connection reuse matching, potentially exposing sensitive data to unauthorized parties.

Affected Products

  • Haxx libcurl (versions prior to 8.0.0)
  • Fedora 36
  • Debian Linux 10.0
  • NetApp Active IQ Unified Manager (VMware vSphere)
  • NetApp ONTAP 9
  • NetApp H300S, H500S, H700S, H410S (firmware and hardware)
  • Splunk Universal Forwarder

Discovery Timeline

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

Technical Details for CVE-2023-27535

Vulnerability Analysis

The vulnerability resides in libcurl's connection pooling mechanism, which is designed to improve performance by reusing established connections for subsequent transfers that match the same configuration. However, the implementation contains a flaw where certain FTP-specific configuration options are not properly included in the connection matching checks.

Specifically, the following CURLOPT settings are not validated during connection reuse matching:

  • CURLOPT_FTP_ACCOUNT - FTP account string for ACCT command
  • CURLOPT_FTP_ALTERNATIVE_TO_USER - Alternative USER command string
  • CURLOPT_FTP_SSL_CCC - Clear Command Channel mode setting
  • CURLOPT_USE_SSL - SSL/TLS requirement level

Because these settings are excluded from the configuration comparison, connections with different security or authentication requirements may be incorrectly matched and reused. This can result in a transfer being performed with credentials or security settings from a previous, unrelated connection.

The vulnerability is classified under CWE-305 (Authentication Bypass by Primary Weakness) and CWE-287 (Improper Authentication), reflecting the core issue of authentication controls being circumvented due to improper validation logic.

Root Cause

The root cause of CVE-2023-27535 lies in incomplete configuration matching within libcurl's connection reuse logic. When libcurl stores connections in its connection pool for potential reuse, it compares incoming transfer requests against existing pooled connections to find a suitable match. The matching algorithm checks various connection parameters to ensure compatibility, but the developers inadvertently omitted several FTP-specific options from these checks.

This oversight means that connections established with different FTP account credentials, alternative user strings, SSL/TLS requirements, or Clear Command Channel settings can be incorrectly identified as matching a new request. The connection pool then provides a connection configured for one set of credentials to a transfer that requires different credentials.

Attack Vector

Exploitation of this vulnerability requires specific conditions to be present. An attacker would need to influence the order or timing of FTP connections made by an application using a vulnerable version of libcurl. The attack scenario involves:

  1. A legitimate connection is established to an FTP server with specific credentials and stored in the connection pool
  2. A subsequent transfer request is made that should use different credentials or security settings
  3. Due to the incomplete matching logic, the pooled connection is reused instead of establishing a new connection with the correct credentials
  4. The transfer proceeds with the wrong authentication context, potentially granting access to resources the actual credentials should not have access to, or exposing data to an unintended recipient

This vulnerability requires network access and specific timing conditions to exploit, making it more complex to weaponize but potentially impactful in multi-tenant or shared library environments where different credential sets are used for different operations.

Detection Methods for CVE-2023-27535

Indicators of Compromise

  • Unexpected FTP authentication success events where failures were expected based on application logic
  • Log entries showing mismatched credentials being used for FTP transfers
  • FTP transfers completing successfully despite SSL/TLS configuration mismatches
  • Connection pool statistics showing abnormally high reuse rates for FTP connections

Detection Strategies

  • Monitor FTP server access logs for authentication anomalies where credentials do not match expected patterns
  • Implement application-level logging to track credential usage per FTP transfer and compare against connection pool activity
  • Deploy network monitoring to detect unencrypted FTP traffic when SSL/TLS should be enforced due to CURLOPT_USE_SSL bypass

Monitoring Recommendations

  • Enable verbose libcurl logging in development and staging environments to observe connection reuse behavior
  • Configure FTP servers to log detailed authentication events including account and alternative user commands
  • Implement alerting on SSL/TLS downgrade events in FTP communications monitored by network security tools

How to Mitigate CVE-2023-27535

Immediate Actions Required

  • Upgrade libcurl to version 8.0.0 or later, which includes the fix for this vulnerability
  • Audit applications using libcurl for FTP transfers with multiple credential sets or varying security requirements
  • Consider disabling connection reuse for FTP transfers by setting CURLOPT_FRESH_CONNECT until patching is complete
  • Review and update all affected downstream products including Splunk Universal Forwarder and NetApp components

Patch Information

The vulnerability has been addressed in libcurl version 8.0.0 and later. Organizations should update to the latest stable release of libcurl available for their platform. Multiple Linux distributions have released patches, including Debian (see Debian LTS Announcement April 2023) and Fedora (see Fedora Package Announcement). NetApp customers should refer to NetApp Security Advisory NTAP-20230420-0010 for product-specific guidance. Additional details are available in the Gentoo GLSA 202310-12 advisory and the original HackerOne Report #1892780.

Workarounds

  • Set CURLOPT_FRESH_CONNECT to 1L to force new connections for each transfer, bypassing the vulnerable connection reuse logic
  • Disable connection pooling entirely using CURLOPT_MAXCONNECTS set to 0 for security-sensitive FTP operations
  • Implement application-level connection management that segregates connections by credential set rather than relying on libcurl's built-in pooling
bash
# Configuration example - Force fresh connections in curl command line
curl --no-keepalive ftp://server/resource

# In application code using libcurl API:
# curl_easy_setopt(curl, CURLOPT_FRESH_CONNECT, 1L);
# curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1L);

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.9

  • EPSS Probability0.06%

  • 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-305

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

  • Debian LTS Announcement April 2023

  • Fedora Package Announcement

  • Gentoo GLSA 202310-12

  • NetApp Security Advisory NTAP-20230420-0010
  • Related CVEs
  • CVE-2025-0725

  • CVE-2024-7264

  • CVE-2024-6874

  • CVE-2024-6197

  • CVE-2023-38545

  • CVE-2023-27536
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