On this page (7 sections)

On 30 November 2026 Ubuntu published USN-9222-1, a security notice that fixes a long list of rsync vulnerabilities on Ubuntu 22.04 LTS, 24.04 LTS, 26.04 LTS and 26.10. The upstream project had already shipped fixes in rsync 3.5.0 on 13 August, which it describes as a major security release.

If you use rsync for backups, deployments, mirroring or file hosting, this is worth your attention. The three issues with the most detail available are all symlink-handling flaws that let a file operation reach outside the directory it was meant to stay in. They are most relevant to rsync daemons and to restricted SSH accounts that use rrsync.

What was fixed

The Ubuntu notice covers more than a dozen rsync CVEs. The upstream advisories give full detail for three of them, and those are the focus here. Ubuntu's notice also lists, among others, a filter rule bypass (CVE-2026-53786), a PROXY protocol IP spoofing issue in the daemon (CVE-2026-53791), an out-of-bounds read (CVE-2026-53792), an allocation-check problem in --max-alloc (CVE-2026-53794) and file write problems with --temp-dir and --link-dest (CVE-2026-53795). The copy of the notice available for this article is truncated, so read the full notice for the complete list and for which Ubuntu releases each item applies to. The notice says some entries, such as CVE-2026-53789 and CVE-2026-53790, apply only to Ubuntu 22.04 LTS and 24.04 LTS.

The three best-documented flaws

CVE-2026-53783: rrsync directory escape

rrsync is a wrapper used as an SSH forced command to restrict a client to one directory. According to the upstream advisory, it checked each argument with realpath() and then ran rsync against the same name. That leaves a time-of-check to time-of-use window in which a path component can be flipped to an escaping symlink after the check. The advisory also says several risky options stayed enabled inside a restricted directory: --copy-unsafe-links (which copies the referent of an outside-pointing symlink out of the tree), -D / --specials, and a --log-file that followed a symlink.

The CVE record (NVD data) gives a score of 8.6, and the GitHub advisory gives 8.1. The CVE record describes the problem as letting authenticated clients escape the enforced directory restrictions and read or write files outside the permitted subtree; a VulnCheck advisory is also referenced.

CVE-2026-53784: daemon module root symlink with use chroot = no

When a daemon module has use chroot disabled and the module path, or a component of it, is a symlink, the daemon changes into the module root without resolving the link. Later relative paths are then interpreted against the symlink target, so files outside the intended root can be reached. The upstream advisory says the daemon served files from outside the configured module before any transfer began, following a parent-component symlink planted by an attacker.

Sources differ on scoring and attack vector. VulnCheck gives 8.4 with a CVSS v4 vector and its description refers to remote clients, while the GitHub advisory gives 7.1 with a local attack vector. As a cautious practical judgment, treat any daemon module with this configuration as worth patching and reviewing.

CVE-2026-53785: writes outside the destination in --relative mode

With --relative (-R), the receiver recreates the implied parent directories of each transferred path. The advisory explains that make_path() followed a symlink planted at a parent component, so new directories and the file were created at the symlink's target, outside the destination tree. The CVE record describes a malicious sender being able to write files on the receiver's filesystem. The finder is credited as Omar Elsayed (seks99x). The upstream fix confines each path component beneath the destination.

Who may be exposed

The sources do not spell out deployment scenarios, so the following is our own practical reading of the advisories rather than a claim from them:

  • Hosts running an rsync daemon (rsyncd) with modules that set use chroot = no, especially where a module path involves a symlink.
  • Backup or file-drop accounts restricted with rrsync in authorized_keys.
  • Systems that receive transfers using --relative from senders you do not fully trust.
  • Servers where other users can create symlinks inside directories that rsync reads from or writes to.

A plain rsync over SSH between machines you fully control, with no daemon and no rrsync, is less likely to touch these three issues. You should still update, because the notice covers many other fixes.

How to check your exposure

First, see which rsync version is installed. This is read-only. Upstream, versions before 3.5.0 are affected. Distribution packages may report different version strings, so for Ubuntu take the fixed package version from the full USN-9222-1 page (the copy used for this article is truncated and does not show it).

Show the installed rsync version (any Linux)Shell
rsync --version | head -n 1

On Debian or Ubuntu, list the installed package version and compare it with the fixed version in the full notice.

Show the installed rsync package version (Debian/Ubuntu)Shell
apt list --installed rsync

Next, look for daemon modules that disable chroot. The usual config file is /etc/rsyncd.conf (your setup may differ). Any line showing use chroot = no marks a module in the scope of CVE-2026-53784 if its path involves a symlink.

Find use chroot settings in the rsync daemon configShell
grep -n 'use chroot' /etc/rsyncd.conf

Finally, find accounts that use rrsync as a forced command. Run this as the relevant user, or for each account that accepts rsync over SSH. Matching lines identify restricted accounts relevant to CVE-2026-53783.

Find rrsync forced commands in an SSH authorized_keys fileShell
grep -n 'rrsync' ~/.ssh/authorized_keys

What to do now

  1. Inventory every server that runs an rsync daemon, uses rrsync, or runs rsync jobs with --relative.
  2. Update the rsync package on each host (command below) and confirm the installed version against USN-9222-1 or upstream 3.5.0.
  3. Restart the rsync daemon if you run one, so the running process uses the patched binary.
  4. As general hardening, review daemon modules: enable use chroot where possible and avoid symlinks in module paths.
  5. As general hardening, review rrsync accounts, remove any you no longer need, and keep them read-only where the job allows.
  6. As general hardening, check directories rsync writes to for unexpected symlinks and files that should not be there.
  7. As general hardening, review authentication and rsync logs for unusual logins or transfers to unfamiliar paths.

On Debian or Ubuntu, update only the rsync package so you do not pull in unrelated upgrades.

Update rsync to the patched package (Debian/Ubuntu)Shell
sudo apt update && sudo apt install --only-upgrade rsync
Caution. Restarting the rsync daemon drops active transfers. Do it in a quiet window, and check the service name on your system first (it is commonly rsync or rsyncd).
Restart the rsync daemon after updating (systemd hosts)Shell
sudo systemctl restart rsync
For distributions other than Ubuntu, use your vendor's advisory or build from upstream rsync 3.5.0. The research here covers only Ubuntu's notice and the upstream release.

Detection and monitoring

The sources do not describe exploitation in the wild, and none of the three CVEs appears in the CISA KEV data provided. That is not proof that nobody has tried, so look for signs of misuse. Watch for rsync sessions from unexpected addresses, transfers that touch paths outside normal module directories, newly created symlinks in backup or upload trees, and new files in places a backup job should never write.

If a server also hosts a website, an unexpected file write can matter beyond rsync. Our guide on what outside-in malware detection can and cannot see explains the limits of external checks, and how to check if a website is hacked covers manual checks.

All three issues belong to the same weakness class, CWE-59, improper link resolution before file access. A program checks a path, then acts on it a moment later, and a symlink changed in between sends the action somewhere else. The upstream fix for rrsync pins each path component with a file descriptor instead of re-resolving the name. The practical lesson for administrators is to keep restricted directories free of user-controlled symlinks and to treat any shared writable tree with caution.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. Release v3.5.0 · RsyncProject/rsyncgithub.com
  2. rsync: rrsync restricted-directory escape (validation-vs-exec race + unsafe option allowlist)github.com
  3. rsync: daemon module-root chdir escape under "use chroot = no"github.com
  4. rsync < 3.5.0 Path Traversal via Symlink Module Rootvulncheck.com ·
  5. rsync: --relative implied-parent creation escapes the destination treegithub.com
  6. USN-9222-1: rsync vulnerabilities | Ubuntu security notices | Ubuntuubuntu.com ·
  • rsync
  • Ubuntu
  • USN-9222-1
  • path traversal
  • symlink
  • patching