Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-27534

CVE-2023-27534: Haxx Curl Path Traversal Vulnerability

CVE-2023-27534 is a path traversal flaw in Haxx Curl's SFTP implementation that causes incorrect tilde character handling, allowing attackers to bypass filters. This article covers technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-27534 Overview

A path traversal vulnerability exists in curl versions prior to 8.0.0 within the SFTP implementation. The vulnerability causes the tilde (~) character to be incorrectly replaced when used as a prefix in the first path element, beyond its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering mechanisms or potentially execute arbitrary code by crafting malicious paths such as /~2/foo while accessing a server with a specific user.

Critical Impact

This path traversal flaw enables attackers to access files outside the intended directory structure on SFTP servers, potentially leading to unauthorized data access, information disclosure, or code execution in vulnerable curl deployments.

Affected Products

  • Haxx curl (versions prior to 8.0.0)
  • Fedora Project Fedora 36
  • NetApp Active IQ Unified Manager (VMware vSphere)
  • Broadcom Brocade Fabric Operating System Firmware
  • NetApp H300S, H500S, H700S, H410S Series Firmware
  • Splunk Universal Forwarder (multiple versions including 9.1.0)

Discovery Timeline

  • 2023-03-30 - CVE-2023-27534 published to NVD
  • 2025-04-23 - Last updated in NVD database

Technical Details for CVE-2023-27534

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), affecting curl's SFTP protocol handler. The core issue lies in how curl processes the tilde character in SFTP paths. In Unix-like systems, the tilde is conventionally used to represent a user's home directory (e.g., ~/documents expands to /home/username/documents). However, the curl SFTP implementation incorrectly processes tilde characters that appear as prefixes in non-first path elements.

When an attacker crafts a path containing patterns like /~2/foo, the SFTP handler improperly expands the tilde, allowing navigation outside the expected directory hierarchy. This behavior can be exploited to bypass path-based security filters that don't account for this parsing anomaly, potentially granting access to sensitive files or directories that should be protected.

Root Cause

The root cause stems from improper input validation in curl's SFTP path parsing logic. The code fails to restrict tilde expansion to only the first path element, where it legitimately represents the home directory shortcut. Instead, the parser incorrectly applies tilde replacement logic to tilde-prefixed elements elsewhere in the path string, creating an exploitable path traversal condition.

Attack Vector

The attack vector is network-based and requires low privileges with no user interaction needed. An attacker with the ability to influence SFTP URLs processed by a vulnerable curl client can craft malicious paths to:

  1. Bypass Access Controls: Security filters checking for path traversal sequences (like ../) may not detect the tilde-based traversal technique
  2. Access Arbitrary Files: Navigate to directories outside the intended scope on the SFTP server
  3. Potential Code Execution: In certain configurations where uploaded files can be executed, this could lead to arbitrary code execution

The attack requires the attacker to have some level of authenticated access to the target SFTP server, but can bypass directory restrictions imposed by the application layer.

Detection Methods for CVE-2023-27534

Indicators of Compromise

  • Unusual SFTP connection patterns with path elements containing tilde prefixes in non-standard positions (e.g., /~2/, /~user/ in middle path segments)
  • Log entries showing access to directories outside expected user home directories via SFTP
  • Failed authentication or authorization events following suspicious path access attempts
  • Network traffic containing malformed SFTP path requests with multiple tilde characters

Detection Strategies

  • Monitor SFTP server logs for path patterns containing tilde characters in unexpected positions within the path string
  • Implement network-based detection rules to identify SFTP requests with suspicious path traversal patterns including /~[0-9]/ or /~[a-z]+/ in non-first path elements
  • Deploy application-layer inspection to detect curl user-agent strings accessing SFTP resources with malformed paths
  • Configure SentinelOne agents to detect curl processes initiating suspicious SFTP connections

Monitoring Recommendations

  • Enable verbose logging on SFTP servers to capture full path requests for forensic analysis
  • Implement real-time alerting for path traversal attempt patterns in SFTP traffic
  • Monitor curl version deployments across infrastructure and flag systems running versions below 8.0.0
  • Use SentinelOne's behavioral AI to detect anomalous file access patterns following SFTP connections

How to Mitigate CVE-2023-27534

Immediate Actions Required

  • Upgrade curl to version 8.0.0 or later immediately on all affected systems
  • Audit systems for vulnerable curl versions using package management tools and vulnerability scanners
  • Review SFTP server configurations to implement additional path validation at the server level
  • Temporarily disable SFTP functionality in curl if immediate patching is not possible

Patch Information

The vulnerability was addressed in curl version 8.0.0. Organizations should upgrade to this version or later. Vendor-specific patches are available from multiple sources:

  • HackerOne Report #1892351 - Original vulnerability report
  • Debian LTS Announcement - Debian security updates
  • Fedora Package Announcement - Fedora package updates
  • Gentoo GLSA 202310-12 - Gentoo Linux security advisory
  • NetApp Security Advisory ntap-20230420-0012 - NetApp product updates

Workarounds

  • Implement server-side path validation that explicitly blocks tilde characters in path positions other than the first element
  • Use application-level URL filtering to sanitize SFTP paths before passing them to curl
  • Deploy network segmentation to limit SFTP access to trusted systems only
  • Configure web application firewalls or proxy servers to inspect and block suspicious SFTP URL patterns
bash
# Verify curl version and upgrade if necessary
curl --version

# On Debian/Ubuntu systems
sudo apt update && sudo apt upgrade curl

# On RHEL/CentOS/Fedora systems
sudo dnf update curl

# On macOS with Homebrew
brew upgrade curl

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechHaxx Curl

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • HackerOne Report #1892351

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202310-12

  • NetApp Security Advisory ntap-20230420-0012
  • Related CVEs
  • CVE-2020-8177: Haxx Curl Path Traversal Vulnerability

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

  • CVE-2026-3783: Haxx Curl Information Disclosure Vulnerability

  • CVE-2026-3784: Haxx Curl Auth Bypass Vulnerability
Default Legacy - Prefooter | 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