# CVE-2024-12087: rsync: A path traversal vulnerability exists in rsync

CVE-2024-12087 is fixed in 5 products on 1 platform, first by rsync 3.1.2-2.1ubuntu1.6+esm1, released January 8, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-12087
- Priority: High
- CVSS: 7.5 (Medium)
- EPSS: 0.0226
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 8, 2025

## Description

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | rsync Debian 12.15 (bookworm) | 3.2.7-1+deb12u1 | [DEBIAN-CVE-2024-12087](https://patchblox.com/security/data/fix/linux/debian-cve-2024-12087.md) | Jan 14, 2025 |
| Linux | rsync Debian 13.5 (trixie) | 3.3.0+ds1-3 | [DEBIAN-CVE-2024-12087](https://patchblox.com/security/data/fix/linux/debian-cve-2024-12087.md) | Jan 14, 2025 |
| Linux | rsync Debian 14 | 3.3.0+ds1-3 | [DEBIAN-CVE-2024-12087](https://patchblox.com/security/data/fix/linux/debian-cve-2024-12087.md) | Jan 14, 2025 |
| Linux | rsync RHEL 10 | 3.4.1-2.el10 | [RHBA-2025:6470](https://patchblox.com/security/data/fix/linux/rhba-2025-6470.md) | Jan 14, 2025 |
| Linux | rsync RHEL 8 | 0:3.1.3-21.el8_10 | [RHSA-2025:2600](https://patchblox.com/security/data/fix/linux/rhsa-2025-2600.md) | Mar 11, 2025 |
| Linux | rsync RHEL 9 | 0:3.2.5-3.el9 | [RHSA-2025:7050](https://patchblox.com/security/data/fix/linux/rhsa-2025-7050.md) | May 13, 2025 |
| Linux | rsync Ubuntu 18.04.6 LTS (bionic) | 3.1.2-2.1ubuntu1.6+esm1 | [rsync 3.1.2-2.1ubuntu1.6+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-rsync-3.1.2-2.1ubuntu1.6-esm1.md) | Jan 8, 2025 |
| Linux | rsync Ubuntu 20.04 LTS (focal) | 3.1.3-8ubuntu0.8 | [rsync 3.1.3-8ubuntu0.8](https://patchblox.com/security/data/fix/linux/ubuntu-focal-rsync-3.1.3-8ubuntu0.8.md) | Jan 8, 2025 |
| Linux | rsync Ubuntu 22.04.1 LTS (jammy) | 3.2.7-0ubuntu0.22.04.3 | [rsync 3.2.7-0ubuntu0.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-rsync-3.2.7-0ubuntu0.22.04.3.md) | Jan 8, 2025 |
| Linux | rsync Ubuntu 24.04.5 LTS (noble) | 3.2.7-1ubuntu1.1 | [rsync 3.2.7-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-rsync-3.2.7-1ubuntu1.1.md) | Jan 8, 2025 |
| Linux | rsync Ubuntu 24.10 (oracular) | 3.3.0-1ubuntu0.1 | [rsync 3.3.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-rsync-3.3.0-1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | rsync almalinux 8 | 3.1.3-21.el8_10 | [ALSA-2025:2600](https://patchblox.com/security/data/fix/linux/alsa-2025-2600.md) | Mar 11, 2025 |
| Linux | rsync almalinux 9 | 3.2.5-3.el9 | [ALSA-2025:7050](https://patchblox.com/security/data/fix/linux/alsa-2025-7050.md) | May 13, 2025 |
| Linux | rsync amzn 2023 | 3.4.0-1.amzn2023.0.2 | [ALAS2023-2025-801](https://patchblox.com/security/data/fix/linux/alas2023-2025-801.md) | Jan 16, 2025 |
| Linux | rsync ol 8 | 0:3.1.3-21.el8_10 | [ELSA-2025-2600](https://patchblox.com/security/data/fix/linux/elsa-2025-2600.md) | Mar 10, 2025 |
| Linux | rsync ol 9 | 0:3.2.5-3.el9 | [ELSA-2025-7050](https://patchblox.com/security/data/fix/linux/elsa-2025-7050.md) | May 16, 2025 |
| Linux | rsync opensuse-leap 15.6 | 3.2.7-150600.3.8.1 | [SUSE-SU-2025:0156-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0156-1.md) | Jan 17, 2025 |
| Linux | rsync rocky 8 | 0:3.1.3-21.el8_10 | [RLSA-2025:2600](https://patchblox.com/security/data/fix/linux/rlsa-2025-2600.md) | May 7, 2025 |
| Linux | rsync rocky 9 | 0:3.2.5-3.el9 | [RLSA-2025:7050](https://patchblox.com/security/data/fix/linux/rlsa-2025-7050.md) | Oct 4, 2025 |
| Linux | rsync sles 15.6 | 3.2.7-150600.3.8.1 | [SUSE-SU-2025:0156-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0156-1.md) | Jan 17, 2025 |
| Linux | rsync-daemon RHEL 8 | 0:3.1.3-21.el8_10 | [RHSA-2025:2600](https://patchblox.com/security/data/fix/linux/rhsa-2025-2600.md) | Mar 11, 2025 |
| Linux | rsync-daemon RHEL 9 | 0:3.2.5-3.el9 | [RHSA-2025:7050](https://patchblox.com/security/data/fix/linux/rhsa-2025-7050.md) | May 13, 2025 |
| Linux | rsync-daemon almalinux 8 | 3.1.3-21.el8_10 | [ALSA-2025:2600](https://patchblox.com/security/data/fix/linux/alsa-2025-2600.md) | Mar 11, 2025 |
| Linux | rsync-daemon almalinux 9 | 3.2.5-3.el9 | [ALSA-2025:7050](https://patchblox.com/security/data/fix/linux/alsa-2025-7050.md) | May 13, 2025 |
| Linux | rsync-daemon amzn 2023 | 3.4.0-1.amzn2023.0.2 | [ALAS2023-2025-801](https://patchblox.com/security/data/fix/linux/alas2023-2025-801.md) | Jan 16, 2025 |
| Linux | rsync-daemon ol 8 | 0:3.1.3-21.el8_10 | [ELSA-2025-2600](https://patchblox.com/security/data/fix/linux/elsa-2025-2600.md) | Mar 10, 2025 |
| Linux | rsync-daemon ol 9 | 0:3.2.5-3.el9 | [ELSA-2025-7050](https://patchblox.com/security/data/fix/linux/elsa-2025-7050.md) | May 16, 2025 |
| Linux | rsync-debuginfo amzn 2023 | 3.4.0-1.amzn2023.0.2 | [ALAS2023-2025-801](https://patchblox.com/security/data/fix/linux/alas2023-2025-801.md) | Jan 16, 2025 |
| Linux | rsync-debugsource amzn 2023 | 3.4.0-1.amzn2023.0.2 | [ALAS2023-2025-801](https://patchblox.com/security/data/fix/linux/alas2023-2025-801.md) | Jan 16, 2025 |
| Linux | rsync-rrsync RHEL 9 | 0:3.2.5-3.el9 | [RHSA-2025:7050](https://patchblox.com/security/data/fix/linux/rhsa-2025-7050.md) | May 13, 2025 |
| Linux | rsync-rrsync almalinux 9 | 3.2.5-3.el9 | [ALSA-2025:7050](https://patchblox.com/security/data/fix/linux/alsa-2025-7050.md) | May 13, 2025 |
| Linux | rsync-rrsync ol 9 | 0:3.2.5-3.el9 | [ELSA-2025-7050](https://patchblox.com/security/data/fix/linux/elsa-2025-7050.md) | May 16, 2025 |

---

Data as of 2026-11-11T01:43:54Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
