Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-70461
rsync vulnerability analysis and mitigation

Overview

CVE-2026-70461 is a heap out-of-bounds write vulnerability in rsync's add_implied_include() function, allowing remote unauthenticated attackers to write one attacker-controlled byte past the end of a heap allocation. It affects rsync versions 3.2.5 through 3.4.4 (the function was introduced in 3.2.5) and is fixed in version 3.5.0. The vulnerability was discovered by Greg Kroah-Hartman via daemon-protocol fuzzing and disclosed on August 13, 2026. It carries a CVSS v3.1 base score of 8.2 (High) and a CVSS v4.0 base score of 8.8 (High) (GitHub Advisory, Microsoft MSRC).

Technical details

The root cause is an off-by-one buffer sizing error (CWE-787: Out-of-bounds Write) in the add_implied_include() function, which builds an implied /** filter rule from each transfer argument the client sends so the remote sender can validate the file list. When processing a files-from entry containing both an interior and a trailing backslash (e.g., a\b\), the function under-counts the trailing backslash when sizing the destination buffer, resulting in a one-byte write past the end of the heap allocation. An unauthenticated remote attacker can trigger this against a read-only rsync daemon module by sending -r --files-from= with a crafted entry via forward_filesfrom_data(); no write access or crafted protocol manipulation is required. The per-module parse_arguments() runs with am_server == 0, keeping trust_sender_args at 0 and leaving the implied-include path active (GitHub Advisory).

Impact

Successful exploitation causes heap corruption on the rsync daemon, which can result in a service crash (denial of service) or, under favorable heap layout conditions, potential code execution. The write is constrained to one attacker-controlled byte, so reliable code execution is not claimed by the reporter, but heap corruption is confirmed and detected as an ASan heap-buffer-overflow. The vulnerability is exploitable against read-only daemon modules, meaning even conservatively configured rsync servers are at risk. Confidentiality impact is assessed as none, while integrity and availability impacts are low and high, respectively (GitHub Advisory, Microsoft MSRC).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The NVD SSVC assessment notes the vulnerability is automatable (no user interaction required) with partial technical impact. The EPSS score is approximately 0.51%, indicating a low but non-negligible probability of exploitation in the near term. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Attribution is to Greg Kroah-Hartman, who discovered it through daemon-protocol fuzzing as part of malicious-peer robustness research (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify internet-facing rsync daemon instances running versions 3.2.5 through 3.4.4 using tools like Shodan or Masscan, targeting the default rsync port (TCP 873).
  2. Identify read-only modules: Connect to the rsync daemon and enumerate available modules (e.g., rsync rsync://target/) to identify read-only modules, which are sufficient to trigger the vulnerability.
  3. Craft malicious files-from entry: Prepare a files-from input file containing an entry with both an interior and a trailing backslash, such as a\b\.
  4. Send crafted request: Invoke rsync with -r --files-from=<crafted_file> targeting the vulnerable daemon module, causing forward_filesfrom_data() to pass the malformed entry to add_implied_include() on the daemon side.
  5. Trigger heap corruption: The daemon's add_implied_include() under-counts the trailing backslash, writes one attacker-controlled byte past the end of the heap buffer, resulting in heap corruption, a potential crash, or (under specific heap layout conditions) further memory manipulation (GitHub Advisory).

Indicators of compromise

  • Network: Unexpected or repeated rsync connections (TCP 873) from unknown or external IP addresses to rsync daemon modules, particularly with --files-from arguments; connections to read-only modules from clients that would not normally access them.
  • Logs: rsync daemon logs showing client connections supplying --files-from with entries containing backslash sequences (e.g., entries matching *\*\); daemon crash or unexpected termination entries in system logs (/var/log/syslog, /var/log/messages, or journald).
  • Process: rsync daemon process (rsync --daemon) crashing or restarting unexpectedly; core dump files generated by the rsync daemon process in the working directory or /var/crash/.
  • File System: Presence of core dump files (e.g., core, core.<pid>) in the rsync daemon's working directory following unexpected termination.

Mitigation and workarounds

Upgrade rsync to version 3.5.0 or later, which was released on August 13, 2026, as part of a major security release addressing this and other vulnerabilities (GitHub Release). Distribution-specific patches are available from SUSE (SUSE-SU-2026:3634-1, SUSE-SU-2026:3657-1), Fedora, and openSUSE. As a temporary workaround, restrict network access to rsync daemon modules using firewall rules or network-based filtering to limit exposure to trusted clients only. Disabling --files-from support at the daemon level or blocking untrusted client connections provides additional mitigation until patching is complete (GitHub Advisory, Microsoft MSRC).

Community reactions

The vulnerability was part of a broader set of security fixes in rsync 3.5.0, described by the project as a "major security release" focused on malicious-peer robustness (GitHub Release). Linux distributions including SUSE, openSUSE, and Fedora issued security advisories and updated packages promptly following disclosure. Coverage appeared on Linux security news aggregators such as LinuxSecurity.com and Pro-Linux.de, and Tenable published multiple Nessus detection plugins for the vulnerability. Community reaction was measured, reflecting the constrained nature of the one-byte write and the absence of a public exploit.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

rsync

Affected

sid

rsync: 3.5.0+ds1-1

Fixed

trixie

rsync

Affected

Ubuntu

Unknown

bionic (esm-infra)

rsync

Unknown

devel

rsync

Unknown

focal (esm-infra)

rsync

Unknown

jammy

rsync

Unknown

noble

rsync

Unknown

resolute

rsync

Unknown

trusty (esm-infra-legacy)

rsync

Unknown

xenial (esm-infra-legacy)

rsync

Unknown

RHEL / CentOS

Fixed

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

rsync.src

Affected

RHEL 9

:appstream:rsync-0:3.2.7-1.el9_8.src

Fixed

RHEL 10

rsync-0:3.5.0-3.el10_2.src

Fixed

Alpine

Fixed

edge

rsync: 3.5.0-r0

Fixed

v3.21

rsync: 3.5.0-r0

Fixed

v3.22

rsync: 3.5.0-r0

Fixed

v3.23

rsync: 3.5.0-r0

Fixed

SourceThis report was generated using AI

Related rsync vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-70461HIGH8.8
  • rsync logorsync
  • rsync-debugsource
NoYesAug 13, 2026
CVE-2026-70464HIGH8.7
  • rsync logorsync
  • rsync-rrsync
NoYesAug 13, 2026
CVE-2026-70463HIGH8.6
  • rsync logorsync
  • rsync
NoYesAug 13, 2026
CVE-2026-85091HIGH8.3
  • rsync logorsync
  • zlib
NoYesSep 03, 2026
CVE-2026-70462HIGH7.1
  • rsync logorsync
  • rsync
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management