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-2026-0964

CVE-2026-0964: SCP Client Path Traversal Vulnerability

CVE-2026-0964 is a path traversal flaw in SCP clients allowing malicious servers to override local files outside the working directory. This article covers the technical details, affected systems, and mitigation.

Published: March 26, 2026

CVE-2026-0964 Overview

A path traversal vulnerability exists in libssh's SCP client implementation that allows a malicious SCP server to send unexpected paths, potentially causing the client application to override local files outside of the intended working directory. This vulnerability could be exploited to create malicious executable or configuration files on the client system, which users may inadvertently execute under specific circumstances.

This vulnerability is functionally equivalent to CVE-2019-6111 that affected OpenSSH, representing the same class of SCP protocol abuse in the libssh implementation.

Critical Impact

A malicious SCP server can overwrite arbitrary files on the client system, potentially leading to code execution if executable or configuration files are targeted.

Affected Products

  • libssh versions prior to 0.12.0
  • libssh versions prior to 0.11.4
  • Applications utilizing vulnerable libssh SCP client functionality

Discovery Timeline

  • 2026-02-10 - libssh releases security patches (0.12.0 and 0.11.4)
  • 2026-03-26 - CVE CVE-2026-0964 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-0964

Vulnerability Analysis

This vulnerability falls under CWE-22 (Path Traversal), where the SCP client fails to properly validate file paths received from a remote SCP server. The SCP protocol inherently trusts the server to provide legitimate file paths during file transfer operations. However, a malicious server can exploit this trust by sending path components that include directory traversal sequences or absolute paths.

The attack requires user interaction—specifically, a user must initiate an SCP connection to a malicious server. The network-based attack vector combined with the requirement for user interaction and high attack complexity results in a medium severity classification.

When successful, an attacker could achieve limited impacts on confidentiality, integrity, and availability by placing or overwriting files in unexpected locations on the client filesystem.

Root Cause

The root cause lies in insufficient validation of server-supplied file paths during SCP file transfer operations. The SCP client implementation does not adequately sanitize path information received from the server before writing files to the local filesystem. This allows an attacker controlling a malicious SCP server to specify paths containing ../ sequences or absolute paths that escape the intended download directory.

Attack Vector

The attack requires a victim to connect to a malicious SCP server controlled by the attacker. When the client initiates a file transfer, the server can respond with crafted file paths that cause files to be written outside the expected destination directory. The attacker could overwrite:

  • Configuration files (e.g., .bashrc, .ssh/authorized_keys)
  • Executable scripts in PATH directories
  • Application configuration files that could alter program behavior

The exploitation scenario depends on the permissions of the user running the SCP client and the specific files that can be overwritten.

Detection Methods for CVE-2026-0964

Indicators of Compromise

  • Unexpected file modifications in user home directories, particularly configuration files like .bashrc, .profile, or .ssh/authorized_keys
  • New or modified executable files appearing in user-writable directories within the PATH
  • SCP transfer logs showing unusual destination paths or path traversal sequences
  • Modification timestamps on critical configuration files that don't correspond to legitimate user activity

Detection Strategies

  • Monitor filesystem activity during SCP transfers for writes outside expected directories
  • Implement file integrity monitoring (FIM) on critical system and user configuration files
  • Review SCP client logs for connections to untrusted or unknown servers
  • Deploy endpoint detection that can identify path traversal patterns in file operations

Monitoring Recommendations

  • Enable detailed logging for SCP client operations where possible
  • Implement baseline monitoring for critical user and system configuration files
  • Configure alerts for unauthorized modifications to executable files and scripts
  • Monitor network connections for SCP traffic to unusual or suspicious destinations

How to Mitigate CVE-2026-0964

Immediate Actions Required

  • Update libssh to version 0.12.0 or 0.11.4 or later immediately
  • Audit systems for any signs of compromise, particularly checking for unexpected file modifications
  • Review recent SCP transfer activity to identify connections to untrusted servers
  • Consider using SFTP instead of SCP where possible, as SFTP provides better path handling

Patch Information

The libssh project has released security updates to address this vulnerability. Users should upgrade to:

  • libssh 0.12.0 (for the 0.12.x branch)
  • libssh 0.11.4 (for the 0.11.x branch)

For additional details, refer to the libssh Security Release Announcement. Red Hat users can consult the Red Hat CVE-2026-0964 Advisory and Red Hat Bugzilla #2436979 for distribution-specific guidance.

Workarounds

  • Avoid using SCP to transfer files from untrusted or unknown servers
  • Use SFTP as an alternative protocol when connecting to remote systems
  • Implement strict directory permissions to limit the impact of potential file overwrites
  • Consider using chroot or containerization to isolate SCP operations from critical system files
bash
# Verify installed libssh version
rpm -q libssh || dpkg -l libssh* 2>/dev/null

# Update libssh on RHEL/CentOS systems
sudo dnf update libssh

# Update libssh on Debian/Ubuntu systems  
sudo apt update && sudo apt upgrade libssh-4

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechOpenssh

  • SeverityMEDIUM

  • CVSS Score5.0

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • Red Hat CVE-2026-0964 Advisory

  • Red Hat Bugzilla #2436979

  • libssh Security Release Announcement
  • Related CVEs
  • CVE-2026-35414: OpenSSH Information Disclosure Vulnerability

  • CVE-2026-35388: OpenSSH Privilege Escalation Vulnerability

  • CVE-2026-35387: OpenSSH ECDSA Algorithm Vulnerability

  • CVE-2026-35386: OpenSSH RCE Vulnerability via Metacharacters
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