USN-9222-1: rsync vulnerabilities
It was discovered that rsync had a time-of-check to time-of-use race condition in the rrsync restricted shell wrapper. An authenticated attacker could possibly use this issue to escape enforced directory restrictions. (CVE-2026-53783) It was discovered that rsync had a path traversal vulnerability when the module root path was a symlink and chroot was disabled. An authenticated attacker could possibly use this issue to access files outside the intended module root. (CVE-2026-53784) It was discovered that rsync had a path traversal vulnerability in relative mode that allowed a malicious sender to write files outside the intended destination directory tree. An attacker could possibly use this issue to write arbitrary files on the receiver's filesystem. (CVE-2026-53785) It was discovered that rsync had a filter rule bypass vulnerability that allowed authenticated clients to override module-level filter restrictions. An attacker could possibly use this issue to gain access to files that module filters were intended to exclude. (CVE-2026-53786) It was discovered that rsync had a newline injection vulnerability in the name-converter uid/gid mapping interface. A local attacker could possibly use this issue to forge protocol messages by creating user or group names containing newline characters. (CVE-2026-53788) It was discovered that rsync had an improper path handling vulnerability that allowed a malicious sender to expand the scope of delete operations beyond the intended destination subtree. An attacker could possibly use this issue to delete files outside the authorized destination directory. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-53789) It was discovered that rsync had multiple command and argument injection vulnerabilities. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-53790) It was discovered that rsync daemon had an IP address spoofing vulnerability in PROXY protocol header handling. An unauthenticated remote attacker could possibly use this issue to bypass IP-based access controls. (CVE-2026-53791) It was discovered that rsync had an out-of-bounds read vulnerability in the sender-side block matching logic. A malicious receiver could possibly use this issue to access file data buffer memory outside the intended bounds. (CVE-2026-53792) It was discovered that rsync had a path confinement bypass vulnerability when the module root contained a /./ boundary marker. A remote attacker could possibly use this issue to access files outside the module's subtree. (CVE-2026-53793) It was discovered that rsync had a logic error in --max-alloc handling that could disable certain allocation checks when set to zero. An attacker could possibly use this issue to cause rsync to attempt unbounded memory allocations, resulting in a denial of service. (CVE-2026-53794) It was discovered that rsync had an arbitrary file write vulnerability when using --temp-dir or --link-dest options with paths outside the destination tree. An attacker could possibly use this issue to write files to arbitrary locations. (CVE-2026-53795) It was discovered that rsync had a time-of-check to time-of-use race condition in the non-daemon receiver's destination directory handling. An attacker who could manipulate destination path components could possibly use this issue to redirect file writes to unintended locations. (CVE-2026-53796) It was discovered that rsync had a symlink race condition in the sender's source tree traversal. An attacker who could manipulate a parent directory of the source tree could possibly use this issue to read files outside the intended transfer root. (CVE-2026-53797) It was discovered that rsync had a privilege confusion vulnerability in the name-converter subprocess uid/gid mapping. A local attacker could possibly use this issue to cause transferred files to be owned by root. (CVE-2026-53798) It was discovered that rsync had a symlink race condition in ACL and extended attribute handling. A local attacker could possibly use this issue to apply arbitrary ACLs or extended attributes to unintended files, enabling local privilege escalation. (CVE-2026-53799) It was discovered that rsync had a symlink race condition in the --remove- source-files feature. An attacker with symlink creation access could possibly use this issue to cause arbitrary file deletion. (CVE-2026-53800) It was discovered that rsync had a symlink race condition in the sender's directory scanning logic. An attacker who could manipulate symlinks in the scanned tree could possibly use this issue to cause the sender to transfer files outside the module root's intended subtree. (CVE-2026-53801) It was discovered that rsync had an arbitrary file read vulnerability in input configuration file handling. An attacker could possibly use this issue to read files accessible to the rsync daemon process. (CVE-2026-53802) It was discovered that rsync had a symlink following vulnerability in ancillary file writes such as --log-file and --write-batch. A local attacker could possibly use this issue to overwrite arbitrary files, enabling local privilege escalation on installations where rsync runs with elevated privileges. (CVE-2026-53803) It was discovered that rsync had an access control bypass vulnerability that allowed remote attackers to circumvent hosts deny rules by inducing DNS resolution failures. An attacker could possibly use this issue to bypass module-level IP access controls and gain unauthorized access to restricted modules. (CVE-2026-70452) It was discovered that rsync had an algorithmic complexity vulnerability in hash lookup processing. A remote attacker could possibly use this issue to cause a denial of service by delivering a carefully constructed file list. (CVE-2026-70453) It was discovered that rsync had a TLS certificate validation vulnerability in rsync-ssl. An on-path attacker could possibly use this issue to intercept encrypted sessions by presenting invalid certificates. (CVE-2026-70454) It was discovered that rsync had a denial of service vulnerability via the --zt option alias that bypassed the refuse options directive. A remote attacker could possibly use this issue to exhaust available thread and memory resources. (CVE-2026-70455) It was discovered that rsync had an out-of-bounds write vulnerability in argument list handling. A malicious sender could possibly use this issue to corrupt adjacent heap memory. (CVE-2026-70456) It was discovered that rsync had an out-of-bounds write vulnerability in size argument parsing. An attacker could possibly use this issue to corrupt memory outside the intended array bounds. (CVE-2026-70457) It was discovered that rsync had an out-of-bounds write vulnerability in hard-link preservation processing. An attacker could possibly use this issue to corrupt adjacent heap or stack data. (CVE-2026-70458) It was discovered that rsync daemon had a null pointer dereference vulnerability when processing certain file lists. A remote attacker could possibly use this issue to crash the daemon, resulting in a denial of service. (CVE-2026-70459) It was discovered that rsync had a path traversal vulnerability when using --partial-dir or --backup-dir with symlinks in the module file tree. An attacker could possibly use this issue to write files outside the intended module root. (CVE-2026-70460) It was discovered that rsync had a heap out-of-bounds write vulnerability when processing crafted files-from entries. A remote unauthenticated attacker could possibly use this issue to corrupt heap memory. (CVE-2026-70461) It was discovered that rsync had a signed integer overflow vulnerability in the I/O timeout implementation. An attacker could possibly use this issue to permanently disable connection timeouts, leading to resource exhaustion. (CVE-2026-70462) It was discovered that rsync had an authorization bypass vulnerability in auth users directive parsing when group names contained spaces. An authenticated user could possibly use this issue to connect to a restricted module that should have been denied. (CVE-2026-70463) It was discovered that rsync daemon had a denial of service vulnerability that allowed unauthenticated remote attackers to exhaust daemon connection slots. An attacker could possibly use this issue to stall the handshake process and deny service to legitimate clients. (CVE-2026-70464) It was discovered that rsync had a denial of service vulnerability in delta-transfer hash processing. A malicious receiver could possibly use this issue to trigger unbounded CPU work on the sender side, resulting in a denial of service. (CVE-2026-119741)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/rsyncto a version that resolves this vulnerability.Fixed in 3.5.2+ds1-2ubuntu0.26.10.1 - Upgrade
Upgrade
ubuntu/rsyncto a version that resolves this vulnerability.Fixed in 3.5.2+ds1-2ubuntu0.26.04.1 - Upgrade
Upgrade
ubuntu/rsyncto a version that resolves this vulnerability.Fixed in 3.2.8-0ubuntu0.24.04.1 - Upgrade
Upgrade
ubuntu/rsyncto a version that resolves this vulnerability.Fixed in 3.2.8-0ubuntu0.22.04.1
Event History
Frequently Asked Questions
Which rsync deployments are exposed to the described issues?
Exposure depends on the feature in use: rrsync restricted-shell deployments, daemon modules whose root is a symlink with chroot disabled, receivers using relative mode, and modules relying on module-level filter rules. The uid/gid name-converter mapping interface is also relevant to the locally exploitable newline-injection issue.
What level of access does an attacker need?
The rrsync directory-restriction escape, symlink-root traversal, and module-filter bypass issues require an authenticated attacker. The relative-mode issue requires a malicious sender, while the name-converter issue is described as locally exploitable.
What can be changed while updates are being applied?
For daemon modules, avoid using a symlink as the module root and do not leave chroot disabled where that combination is present. Avoid accepting relative-mode transfers from untrusted senders, and do not rely solely on module-level filters to protect files from authenticated clients.
Which Ubuntu package builds are identified in the provided references?
The references list rsync builds 3.5.2+ds1-2ubuntu0.26.10.1, 3.5.2+ds1-2ubuntu0.26.04.1, and 3.2.8-0ubuntu0.24.04.1. Compare the installed rsync package build with the applicable Ubuntu update information.