EST. 2026 — Notes from real server work SYSADMIN · SECURITY · AI · DIRECTADMIN Issue 01
THE SYSADMIN ALMANAC
Home / Security Update / Ubuntu Fixes 34 rsync CVEs: CVE-2026-53791 IP Bypass—Patch Now
Security Update

Ubuntu Fixes 34 rsync CVEs: CVE-2026-53791 IP Bypass—Patch Now

by Ton-Or ·30 Nov 2026·7 min read
Ubuntu Fixes 34 rsync CVEs: CVE-2026-53791 IP Bypass—Patch Now

Administrators running rsync daemons and backup jobs on Ubuntu should check package versions immediately, starting with machines that accept connections or receive files from sources outside their control.

1-minute summary

Symptom / problem
rsync มีช่องโหว่หลายกลุ่ม ทั้งข้ามข้อจำกัดการเข้าถึง เขียนไฟล์นอกขอบเขต แทรกคำสั่ง และทำหน่วยความจำเสียหาย โดยแต่ละช่องมีเงื่อนไขต่างกัน
Who should read
ผู้ใช้แพ็กเกจ rsync บน Ubuntu 22.04 LTS, 24.04 LTS, 26.04 LTS และ 26.10 ตามขอบเขตประกาศ โดยไม่ได้แปลว่าทุกรุ่นกระทบครบทุก CVE
Fix in short
อัปเดตแพ็กเกจตาม USN ของรุ่น Ubuntu ที่ใช้ ตรวจ PROXY protocol และกฎของแต่ละ module แล้วทดสอบงานสำรองและการกู้คืน
Jump to steps

I saw Ubuntu advisory USN-9222-1, released on 30 Nov. 2026, covering 34 rsync CVEs, so I put together the points worth checking in backup operations. These cover both daemons listening for connections and programs pulling files from other machines. Each vulnerability has different conditions.

34 CVECovered in USN-9222-1
9.1CVSS 3.1 IP rule bypass
8.2CVSS 3.1 heap out-of-bounds write
4 Ubuntu releasesHave packages in the advisory

What happened with rsync this time

The advisory covers CVE-2026-53783 through CVE-2026-53786, CVE-2026-53788 through CVE-2026-53803, CVE-2026-70452 through CVE-2026-70464, and CVE-2026-119741. These include problems with paths, symlinks, permissions, memory, and resource consumption that can disrupt service.

Vulnerabilities to check first Mechanism and key conditions
CVE-2026-53791 With proxy protocol = true enabled and a direct connection path to the daemon, an attacker can forge the source IP in a PROXY header to bypass hosts allow/deny
CVE-2026-70461 A specially crafted files-from list can cause a heap out-of-bounds write without authentication, even with a read-only module
CVE-2026-53790 Command/argument injection at points where data is used to construct commands, such as daemon hooks, RSYNC_CONNECT_PROG, rsync-ssl, and arguments passed through a remote shell

The first vulnerability makes the daemon trust a forged source IP in the header, so IP rules may let an attacker through. Check that the backend accepts connections only from trusted proxies, as described in the upstream release notes.

CVE-2026-53791: Trusting header source IPDirect clientCan reach backendForged PROXY headerClaims allowed source IPrsync daemonIP rules may be bypassedMitigation: backend accepts only trusted proxiesThen update packages for your Ubuntu release
This diagram explains the PROXY protocol conditions; it does not mean that all forms of authentication can be bypassed.

CVE-2026-70461 comes from an incorrect buffer size calculation for messages containing backslashes, allowing a one-byte write past the end of the buffer. According to the Ubuntu CVE page, the attacker has limited control over that byte's value. The upstream advisory confirms heap corruption but does not claim code execution.

How severe are the scores, and has exploitation been observed?

The CVSS 3.1 scores are 9.1 Critical for CVE-2026-53791, 8.2 High for CVE-2026-70461, and 8.1 High for CVE-2026-53790, while Ubuntu rates all three as Medium priority. Ubuntu priority and CVSS use different assessment systems, so the conditions that apply to each machine also need to be considered.

The vectors, respectively, are CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H, and CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. The first two are assessed as exploitable over the network without privileges or user interaction. The command injection vulnerability has higher attack complexity; check whether data from untrusted sources is used to construct commands. See CVE-2026-53791 and CVE-2026-53790.

IP rule bypass before authentication

Having hosts allow/deny is not enough if the daemon trusts PROXY headers from untrusted clients. Check backend access paths and whether PROXY protocol is enabled alongside patching.

The cited Ubuntu and upstream advisories do not report exploitation in the wild. None of the 34 CVEs appears in the 27 Nov. 2026 edition of KEV, according to the JSON published by CISA in the kev-data repository, so that edition has no date added or remediation deadline for this set. Absence from KEV does not mean it is safe.

Check the Ubuntu revision for fixed versions

This table lists the fixed packages specified in USN-9222-1. Choose the package for the Ubuntu release in use. Do not look only at the upstream version number and conclude that an older package remains unpatched.

Ubuntu rsync package listed in the USN
22.04 LTS 3.2.8-0ubuntu0.22.04.1
24.04 LTS 3.2.8-0ubuntu0.24.04.1
26.04 LTS 3.5.2+ds1-2ubuntu0.26.04.1
26.10 3.5.2+ds1-2ubuntu0.26.10.1

The individual CVE pages and the USN still show conflicting information. All three CVE pages list their last update as 13 Nov. 2026. For CVE-2026-53791 and CVE-2026-70461, releases 22.04/24.04/26.04 LTS are still marked Needs evaluation, while 26.10 is marked Not affected. For CVE-2026-53790, releases 22.04/24.04 are marked Vulnerable, 26.04 is marked Needs evaluation, and 26.10 is marked Not affected. However, the USN dated 30 Nov. 2026 provides fixed packages for all four releases.

I use the USN to choose packages, but I do not conclude that every release is affected by every vulnerability. In particular, the USN states that CVE-2026-53790 affects only 22.04 LTS and 24.04 LTS. Other releases should still be updated to fix the applicable vulnerabilities.

The upstream advisories for CVE-2026-53791 and CVE-2026-53790 also have inconsistent version ranges. The tables list affected versions through 3.4.4, but the text says through 3.4.3 and notes that the version ranges are still being checked. Both sections list 3.5.0 as the fixed version. For Ubuntu, use the revisions in the USN above.

Steps to check and update backup jobs

  1. List connection pairs Separate daemon connections, remote shell connections, and file-pulling jobs, and check the modules and hooks in use.
  2. Check access paths Restrict the backend to trusted proxies and review hosts allow/deny.
  3. Update packages Choose the version for your Ubuntu release and schedule a pause in accepting jobs for daemons that need restarting.
  4. Test after patching Check package versions, then try backup and restore operations in a test area before resuming the normal schedule.

Check the system and package versions first. Compare Installed and Candidate against the table above. Use dpkg-query to see the full revision; do not rely only on rsync --version.

cat /etc/os-release
dpkg-query -W -f='${Package} ${Version}\n' rsync
apt-cache policy rsync
rsync --version

Also check which configuration file the daemon uses, because --config may point elsewhere and the process may be started through socket/inetd. This example reads the configuration file at the standard location.

sudo ss -lntp
systemctl cat rsync.service
sudo grep -nE '^[[:space:]]*(\[|proxy protocol|hosts allow|hosts deny|auth users|read only|use chroot|path|pre-xfer exec|post-xfer exec|early exec)' /etc/rsyncd.conf

For jobs using rsync:// or example.com::module, check which modules are enabled and how much file access they allow. Jobs using a remote shell still need updating too. This set also includes vulnerabilities involving argument passing and file handling. Having no daemon does not mean there is no risk. See the connection formats in the rsync manual.

Update from the repositories for the Ubuntu release in use. After apt update, check Candidate again. If it is still older than the version in the table, check the mirror and package sources before installing.

sudo apt update
sudo apt install --only-upgrade rsync
dpkg-query -W -f='${Package} ${Version}\n' rsync
apt-cache policy rsync

If you use rsync.service, wait for transfers to finish, then restart the service during the planned window. If the process is started another way, restart it using that method so it uses the updated binary.

sudo systemctl restart rsync.service
systemctl is-active rsync.service
sudo journalctl -u rsync.service --no-pager -n 100
Temporary mitigation

Restrict the backend to trusted proxies. If you do not use a proxy, disable proxy protocol. This reduces the risk from the IP spoofing vulnerability but does not fix the other vulnerabilities in the advisory. Check the impact on backup jobs before changing the setting.

This advice is based on the rsyncd.conf manual and Red Hat's mitigation guidance. After patching, test connections that should be allowed and those that should be denied, and check files and test restoration.

Check for signs of past problems

The cited documents provide no IOCs specific to this set, such as hashes or filenames for detecting intrusions. I recommend looking for general anomalies, such as connections to the backend that bypass the proxy, access to modules that should not be permitted, stalled backup jobs or repeated daemon crashes, and files outside the configured transfer scope. These signs alone cannot identify which CVE was involved or who was responsible.

For PROXY headers, compare proxy or firewall logs with daemon logs, because the IP recorded by the daemon may be a value forged by the attacker. Preserve logs before they are rotated away, and compare file lists against trusted copies. If transfer logging was not enabled, finding nothing does not mean an incident never happened.

If you need to investigate a machine further, you can also read the Debian server security scanning guide, then choose steps that fit the system and the permissions you have.

How I would prioritize this

I would prioritize patching machines with daemons accepting connections from untrusted networks, especially those with PROXY protocol enabled and IP rules as their main barrier. Machines that transfer files only with peers under your control should be scheduled for updates as soon as possible, with restore testing. I prioritize by the paths an attacker can reach and the impact on backup data; I am not claiming that exploitation has already occurred.

Sources: Ubuntu USN-9222-1, Ubuntu CVE-2026-53791, Ubuntu CVE-2026-70461, Ubuntu CVE-2026-53790, rsync NEWS, rsync manual, rsyncd.conf manual, CISA KEV JSON Information current through 1 Dec. 2026. I will come back and update this later.

Want us to set this up?

Get help with server setup, configuration, migration, or troubleshooting. Save time for the work that matters.

Get a quote

Hit something like this? Stuck somewhere?

Come trade notes on the LinuxThai board

→ Continue on the board

Comments 0

No comments yet — be the first