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
    • 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-2026-29518

CVE-2026-29518: Rsync Race Condition Vulnerability

CVE-2026-29518 is a time-of-check to time-of-use race condition in Rsync that allows attackers to redirect file writes and potentially escalate privileges. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-29518 Overview

CVE-2026-29518 is a time-of-check to time-of-use (TOCTOU) race condition in Rsync versions before 3.4.3. The flaw resides in daemon file handling, where attackers with write access to a module path can replace parent directory components with symbolic links. This redirects file writes outside intended directories, enabling arbitrary file creation or overwrite. When the Rsync daemon runs with elevated privileges and chroot is disabled, exploitation can lead to privilege escalation through modification of sensitive system files. The vulnerability is tracked under CWE-367 and only triggers when the daemon chroot setting is false.

Critical Impact

Authenticated attackers with module write access can overwrite arbitrary files on the Rsync daemon host, achieving privilege escalation when the daemon runs as root.

Affected Products

  • Rsync versions prior to 3.4.3
  • Rsync daemon deployments configured with chroot = false
  • Systems exposing Rsync modules with write access to untrusted users

Discovery Timeline

  • 2026-05-20 - CVE-2026-29518 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-29518

Vulnerability Analysis

The vulnerability arises from a window between path validation and file write operations in the Rsync daemon. Rsync checks whether a target path is safe, then performs the file write as a separate step. An attacker who can write to a module path can race this sequence by inserting a symbolic link in place of a legitimate parent directory component. The daemon follows the link during the write phase and places file contents at attacker-chosen locations.

Because the daemon often runs with elevated privileges, attacker-controlled writes can target sensitive locations such as /etc/cron.d/, /root/.ssh/authorized_keys, or shared library paths. The result is arbitrary file write that escalates to code execution or privilege escalation. The attack is constrained to deployments where the daemon chroot directive is set to false, which removes the filesystem isolation that would otherwise contain symlink resolution.

Root Cause

The root cause is non-atomic file operations in the Rsync daemon path handling logic. Validation and write operations are not protected against intermediate filesystem changes, leaving a TOCTOU window. Detailed patch context is available in the GitHub Pull Request changes.

Attack Vector

Exploitation requires local or authenticated network access to an Rsync module with write permission. The attacker uploads files while concurrently swapping parent directory components for symbolic links pointing outside the module root. When the daemon resolves the path during the write phase, the link is followed and the file lands at the attacker-chosen target. The VulnCheck advisory provides additional exploitation context.

Detection Methods for CVE-2026-29518

Indicators of Compromise

  • Unexpected symbolic links inside Rsync module directories pointing to system paths such as /etc/, /root/, or /usr/lib/.
  • Modifications to sensitive files (authorized_keys, cron files, PAM configuration) with timestamps aligned to Rsync daemon activity.
  • Rsync daemon log entries showing repeated transfers from the same client targeting paths with directory components that change between requests.

Detection Strategies

  • Monitor rsyncd process file write activity for operations resolving outside configured module roots.
  • Audit Rsync daemon configurations across the environment for entries where chroot = false is combined with writable modules.
  • Correlate filesystem auditd events for symlink syscalls originating from rsync daemon child processes with subsequent writes to sensitive paths.

Monitoring Recommendations

  • Enable verbose Rsync daemon logging and forward logs to a centralized analytics platform for path-based anomaly detection.
  • Alert on creation of symbolic links inside any directory exposed by rsyncd.conf modules.
  • Track file integrity on system-critical paths (/etc/, /root/.ssh/, /var/spool/cron/) to detect unauthorized writes.

How to Mitigate CVE-2026-29518

Immediate Actions Required

  • Upgrade Rsync to version 3.4.3 or later on all daemon hosts. Refer to the GitHub Release v3.4.3 for binaries and source.
  • Audit all rsyncd.conf files and set chroot = true for any module exposing writable paths.
  • Restrict write access on Rsync modules to trusted, authenticated users only.

Patch Information

The Rsync project addressed CVE-2026-29518 in release 3.4.3. The patch modifies daemon file handling to eliminate the TOCTOU window during path resolution and file write. Patch details and code changes are documented in Rsync pull request #895.

Workarounds

  • Set chroot = true in rsyncd.conf for every module to confine daemon file operations within the module root.
  • Set affected modules to read only = true until patching is complete, preventing the write access required for exploitation.
  • Run the Rsync daemon under an unprivileged service account using uid and gid directives to reduce the impact of arbitrary writes.
bash
# Configuration example - hardened rsyncd.conf
uid = nobody
gid = nogroup
use chroot = true

[backup]
    path = /srv/rsync/backup
    read only = true
    list = yes
    auth users = backupuser
    secrets file = /etc/rsyncd.secrets

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechRsync

  • SeverityHIGH

  • CVSS Score7.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-367
  • Technical References
  • GitHub Pull Request Changes

  • GitHub Release v3.4.3

  • VulnCheck Security Advisory
  • Related CVEs
  • CVE-2026-43619: Rsync Symlink Race Condition Vulnerability

  • CVE-2024-12747: rsync Race Condition Vulnerability

  • CVE-2026-43620: Rsync Out-of-Bounds Read DoS Vulnerability

  • CVE-2026-45232: Rsync Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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