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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | rsync | 3.4.0-r0 | — |
| Alpine v3.18 | rsync | 3.4.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | rsync | 3.4.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | rsync | 3.4.1-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- ALSA-2025:7050 Moderate: rsync security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:2600 Moderate: rsync security update AlmaLinux Security Advisories · Oct 29, 2026
- RHBA-2025:6470 Red Hat Bug Fix Advisory: rsync bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- WID-SEC-2025-0084 Rsync: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 4, 2026
- RHSA-2025:7050 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:2600 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23858 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23854 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23853 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23842 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23416 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23415 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23407 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23235 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2025:23154 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- USN-7206-1 Several security issues were fixed in rsync Ubuntu Security Notices (USN) · Jun 25, 2026
- SUSE-SU-2025:20122-1 Security update for rsync SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20223-1 Security update for rsync SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5843-1 rsync - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4015-1 rsync - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:0166-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0165-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0156-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14665-1 rsync-3.4.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1365 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 18, 2026
- ELSA-2025-23415 Moderate: rsync security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 5, 2026
- WID-SEC-2025-2633 Aruba AOS-CX: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- RLSA-2025:7050 Moderate: rsync security update Rocky Linux Security Advisories · Oct 7, 2025
- VDE-2025-053 Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · Jul 8, 2025
- ELSA-2025-7050 Moderate: rsync security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 16, 2025
- RLSA-2025:2600 Moderate: rsync security update Rocky Linux Security Advisories · May 7, 2025
- SUSE-SU-2025:0157-1 Security update for rsync SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2025-2600 Moderate: rsync security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Mar 10, 2025
- ALAS2-2025-2731 Important: rsync security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 16, 2025
- ALAS2023-2025-801 Important: rsync security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jan 16, 2025
- NCSC-2025-0015 Kwetsbaarheden verholpen in Rsync NCSC-NL (Netherlands) · Jan 15, 2025
References
- RHBA-2025:6470 vendor-advisory
- RHSA-2025:23154 vendor-advisory
- RHSA-2025:23235 vendor-advisory
- RHSA-2025:23407 vendor-advisory
- RHSA-2025:23415 vendor-advisory
- RHSA-2025:23416 vendor-advisory
- RHSA-2025:23842 vendor-advisory
- RHSA-2025:23853 vendor-advisory
- RHSA-2025:23854 vendor-advisory
- RHSA-2025:23858 vendor-advisory
- RHSA-2025:2600 vendor-advisory
- RHSA-2025:7050 vendor-advisory
- RHSA-2025:8385 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-12087 vdb-entry
- RHBZ#2330672 issue-tracking
- https://kb.cert.org/vuls/id/952657