Skip to content
OpenAdvisories

Description

A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.

Affected products

VendorProductAffectedFixed
— rsync ≤ 3.3.0 —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION — —
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support — —
Red Hat Red Hat Discovery 1.14 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rsync 3.3.0+ds1-3 —
Debian 13 rsync 3.3.0+ds1-3 —
Debian 12 rsync 3.2.7-1+deb12u1 DSA-5843-1
Debian 11 rsync 3.2.3-4+deb11u2 DLA-4015-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS rsync 3.2.7-1ubuntu1.1 USN-7206-1
Ubuntu 22.04 LTS rsync 3.2.7-0ubuntu0.22.04.3 USN-7206-1
Ubuntu 20.04 LTS rsync 3.1.3-8ubuntu0.8 USN-7206-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS rsync 3.1.2-2.1ubuntu1.6+esm1 USN-7206-1
Ubuntu Pro 16.04 LTS rsync 3.1.1-3ubuntu1.3+esm3 USN-7206-1
Ubuntu Pro 14.04 LTS rsync 3.1.0-2ubuntu0.4+esm1 USN-7206-1
ReleasePackageFixed inAdvisory
RHEL 10 rsync +2 3.4.1-2.el10 RHBA-2025:6470
RHEL 9 rsync +2 3.2.5-3.el9 RHSA-2025:7050
RHEL 8 rsync +1 3.1.3-21.el8_10 RHSA-2025:2600
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS rsync +1 3.2.3-19.el9_4.2 RHSA-2025:23154
RHEL 9.2 E4S rsync +1 3.2.3-19.el9_2.2 RHSA-2025:23235
RHEL 9.0 E4S rsync +1 3.2.3-9.el9_0.4 RHSA-2025:23407
RHEL 8.8 TUS rsync +1 3.1.3-20.el8_8.4 RHSA-2025:23858
RHEL 8.8 E4S rsync +1 3.1.3-20.el8_8.4 RHSA-2025:23858
RHEL 8.6 TUS rsync +1 3.1.3-14.el8_6.9 RHSA-2025:23854
RHEL 8.6 E4S rsync +1 3.1.3-14.el8_6.9 RHSA-2025:23854
RHEL 8.6 AUS rsync +1 3.1.3-14.el8_6.9 RHSA-2025:23854
RHEL 8.4 EUS Long Life rsync +1 3.1.3-12.el8_4.6 RHSA-2025:23853
RHEL 8.4 AUS rsync +1 3.1.3-12.el8_4.6 RHSA-2025:23853
RHEL 8.2 AUS rsync +1 3.1.3-7.el8_2.6 RHSA-2025:23842
RHEL 7 ELS rsync 3.1.2-12.el7_9.2 RHSA-2025:23415
RHEL 6 ELS rsync 3.0.6-12.el6_10.2 RHSA-2025:23416

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 rsync +2 3.2.5-3.el9 ALSA-2025:7050
AlmaLinux 8 rsync +1 3.1.3-21.el8_10 ALSA-2025:2600

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 rsync 3.2.5-3.el9 RLSA-2025:7050
Rocky Linux 8 rsync 3.1.3-21.el8_10 RLSA-2025:2600
ReleasePackageFixed inAdvisory
SLES 15 SP6 rsync 3.2.7-150600.3.8.1 SUSE-SU-2025:0156-1
SLES 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLES 12 SP5 rsync 3.1.3-3.22.1 SUSE-SU-2025:0166-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES for SAP 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES for SAP 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE Micro 6.1 rsync 3.3.0-slfo.1.1_3.1 SUSE-SU-2025:20223-1
SLE Micro 6.0 rsync 3.2.7-4.1 SUSE-SU-2025:20122-1
SLE Micro 5.5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.2 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE Micro 5.1 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE HPC 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE HPC 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE HPC 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SUSE Manager Server 4.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SUSE Manager Proxy 4.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SUSE Enterprise Storage 7.1 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rsync 3.4.1-1.1 openSUSE-SU-2025:14665-1
openSUSE Leap 15.6 rsync 3.2.7-150600.3.8.1 SUSE-SU-2025:0156-1
ReleasePackageFixed inAdvisory
Alpine v3.24 rsync 3.4.0-r0 —
Alpine v3.23 rsync 3.4.0-r0 —
Alpine v3.22 rsync 3.4.0-r0 —
Alpine v3.21 rsync 3.4.0-r0 —
Alpine v3.20 rsync 3.4.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 rsync 3.4.0-r0 —
Alpine v3.18 rsync 3.4.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 rsync +1 3.4.0-1.amzn2023.0.2 ALAS2023-2025-801
Amazon Linux 2 rsync 3.1.2-11.amzn2.0.5 ALAS2-2025-2731

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rsync 3.4.1-1 —
Azure Linux 2 (CBL-Mariner) rsync 3.4.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 rsync +2 3.2.5-3.el9 ELSA-2025-7050
Oracle Linux 8 rsync +1 3.1.3-21.el8_10 ELSA-2025-2600
Oracle Linux 7 rsync 3.1.2-12.0.3.el7_9 ELSA-2025-23415

Advisories 36

References