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-2024-12088

CVE-2024-12088: Samba Rsync Path Traversal Vulnerability

CVE-2024-12088 is a path traversal flaw in Samba Rsync that allows attackers to write arbitrary files outside intended directories when --safe-links is used. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-12088 Overview

A path traversal vulnerability has been identified in rsync, the widely-used file synchronization utility. When using the --safe-links option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This validation gap allows a malicious rsync server to bypass the intended safety restrictions and write arbitrary files outside the designated synchronization directory.

Critical Impact

Attackers controlling a malicious rsync server can exploit this flaw to write arbitrary files to the client system, potentially leading to code execution, data corruption, or system compromise.

Affected Products

  • Samba rsync (all vulnerable versions)
  • Red Hat Enterprise Linux 6.0, 7.0, 8.0, 9.0, and 10.0
  • Red Hat OpenShift Container Platform 4.0
  • Red Hat Discovery 1.14
  • Red Hat Enterprise Linux EUS 9.6
  • AlmaLinux 8.0, 9.0, and 10.0
  • Arch Linux
  • Gentoo Linux
  • NixOS
  • SUSE Linux
  • SmartOS

Discovery Timeline

  • January 14, 2025 - CVE-2024-12088 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2024-12088

Vulnerability Analysis

This vulnerability represents a path traversal flaw (CWE-22) in rsync's symbolic link handling when the --safe-links option is enabled. The --safe-links option is designed to protect rsync clients by ignoring symbolic links that point to locations outside the synchronization tree. However, the implementation contains a logic flaw where nested symbolic links are not properly validated.

When a malicious rsync server sends file metadata to a client, it can craft symbolic link destinations that themselves contain symbolic links. The rsync client performs validation on the initial symlink path but fails to recursively verify whether resolved components within that path also point to locations outside the allowed directory tree. This allows an attacker to chain symbolic links in a way that ultimately resolves to a path outside the intended synchronization directory.

The vulnerability is particularly concerning because the --safe-links option is specifically intended as a security control. Users who employ this option have an expectation of protection against symlink-based path traversal attacks, making this bypass especially impactful.

Root Cause

The root cause lies in insufficient recursive validation of symbolic link destinations in the rsync client. When processing symlinks with --safe-links enabled, the client checks whether the immediate target path is within the allowed directory tree. However, it does not account for scenarios where the target path itself contains embedded symbolic links that could redirect file operations to unauthorized locations.

This incomplete validation creates a time-of-check-to-time-of-use (TOCTOU) gap where the path appears safe during initial validation but resolves to an unauthorized location during actual file operations.

Attack Vector

The attack requires a malicious rsync server to which a client connects using the --safe-links option. The attack flow involves the malicious server sending crafted file listings that include specially constructed symbolic links. These symlinks are designed to pass the client's initial validation but ultimately point to locations outside the synchronization directory.

When the client processes these symlinks, it follows the chain of links and writes files to the attacker-specified location. This could be exploited to overwrite critical system files, inject malicious scripts, or compromise application configurations. The network-based attack vector means no local access is required—an attacker need only convince or trick a user into synchronizing with the malicious server.

Detection Methods for CVE-2024-12088

Indicators of Compromise

  • Unexpected files appearing outside rsync synchronization directories
  • Unusual symbolic link chains pointing to sensitive system locations such as /etc, /root, or application directories
  • Rsync client logs showing file writes to paths that should not be part of the sync operation
  • Presence of files with modification times matching rsync synchronization events in unexpected locations

Detection Strategies

  • Monitor file system changes in directories outside configured rsync target paths during and after rsync operations
  • Implement file integrity monitoring (FIM) on critical system directories to detect unauthorized modifications
  • Analyze rsync command-line arguments in process logs for connections to untrusted or unknown servers
  • Deploy endpoint detection rules to alert on rsync processes writing to sensitive system paths

Monitoring Recommendations

  • Enable detailed logging for rsync operations including source server and target paths
  • Configure security information and event management (SIEM) alerts for rsync connections to non-whitelisted servers
  • Implement network monitoring to detect rsync traffic to suspicious or previously unknown destinations
  • Review rsync configuration files periodically to ensure --safe-links is combined with other protective measures

How to Mitigate CVE-2024-12088

Immediate Actions Required

  • Update rsync to the latest patched version available from your distribution's package repository
  • Avoid using rsync to synchronize with untrusted or unknown servers until patches are applied
  • Review recent rsync synchronization logs for signs of exploitation or suspicious symbolic link handling
  • Consider temporarily disabling automated rsync jobs that connect to external servers

Patch Information

Multiple Linux distributions have released security updates to address this vulnerability. Red Hat has published security advisories RHSA-2025:2600, RHSA-2025:7050, and RHSA-2025:8385 with patched packages for affected Enterprise Linux versions. Debian has addressed this issue in their LTS security announcement. NetApp has also released advisory NTAP-20250131-0002 for affected products. Additional technical details are available in the CERT Vulnerability Note VU#952657 and the GitHub Security Advisory.

Workarounds

  • Restrict rsync connections to trusted, authenticated servers only using SSH transport with key-based authentication
  • Implement network-level controls to limit outbound rsync connections to approved server addresses
  • Use the --munge-links option as an additional layer of symlink protection where applicable
  • Run rsync operations in isolated environments or containers to limit the impact of potential exploitation
  • Deploy mandatory access control policies (SELinux, AppArmor) to restrict rsync write permissions to authorized directories only
bash
# Example: Restrict rsync to trusted server with SSH transport
rsync -avz --safe-links -e "ssh -o StrictHostKeyChecking=yes" \
  trusted-server:/data/ /local/backup/

# Verify rsync version to ensure patches are applied
rsync --version

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechSamba

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability2.53%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • Red Hat Security Advisory RHSA-2025:2600

  • Red Hat Security Advisory RHSA-2025:7050

  • Red Hat Security Advisory RHSA-2025:8385

  • CVE-2024-12088 Red Hat Security Info

  • Red Hat Bugzilla Report #2330676

  • CERT Vulnerability ID 952657

  • Debian LTS Security Announcement January 2025

  • NetApp Security Advisory NTAP-20250131-0002

  • CERT Vulnerability ID 952657

  • GitHub Security Advisory GHSA-p5pg-x43v-mvqj
  • Related CVEs
  • CVE-2024-12084

  • CVE-2024-12087

  • CVE-2024-12086

  • CVE-2024-12085
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