# CVE-2024-12087: Rsync: path traversal vulnerability in rsync

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-14 · Modified: 2026-11-03
- Aliases: ALPINE-CVE-2024-12087, RHSA-2025:23154, RHSA-2025:23235, RHSA-2025:23407, RHSA-2025:23415, RHSA-2025:23416, RHSA-2025:23842, RHSA-2025:23853, RHSA-2025:23854, RHSA-2025:23858, UBUNTU-CVE-2024-12087, DEBIAN-CVE-2024-12087
- Record: https://cvemate.com/vulnerability/CVE-2024-12087 · JSON: https://cvemate.com/vulnerability/CVE-2024-12087/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 2.259%, percentile 83.564%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 25)

- almalinux almalinux: 8.0 \| 9.0 \| 10.0
- alpine rsync (Alpine Linux): \< 3.4.0-r0
- archlinux arch\_linux: na
- debian rsync (Debian): \< 3.2.7-1+deb12u1 \| \< 3.3.0+ds1-3
- ubuntu rsync (Ubuntu): \< 3.1.0-2ubuntu0.4+esm1 \| \< 3.1.1-3ubuntu1.3+esm3 \| \< 3.1.2-2.1ubuntu1.6+esm1 \| \< 3.1.3-8ubuntu0.8 \| \< 3.2.7-0ubuntu0.22.04.3 \| \< 3.2.7-1ubuntu1.1
- gentoo linux: na
- nixos nixos: \< 24.11
- redhat enterprise\_linux: 8.0 \| 9.0
- redhat enterprise\_linux\_eus: 9.6
- redhat enterprise\_linux\_for\_arm\_64: 8.0\_aarch64 \| 9.0\_aarch64
- redhat enterprise\_linux\_for\_arm\_64\_eus: 9.6\_aarch64
- redhat enterprise\_linux\_for\_ibm\_z\_systems: 8.0\_s390x \| 9.0\_s390x
- redhat enterprise\_linux\_for\_ibm\_z\_systems\_eus: 9.6\_s390x
- redhat enterprise\_linux\_for\_power\_little\_endian: 8.0\_ppc64le \| 9.0\_ppc64le
- redhat enterprise\_linux\_for\_power\_little\_endian\_eus: 9.6\_ppc64le
- redhat enterprise\_linux\_server\_aus: 9.6
- redhat enterprise\_linux\_server\_for\_power\_little\_endian\_update\_services\_for\_sap\_solutions: 9.6\_ppc64le
- redhat enterprise\_linux\_update\_services\_for\_sap\_solutions: 9.6
- redhat rsync (Red Hat): \< 0:3.2.3-19.el9\_4.2 \| \< 0:3.2.3-19.el9\_2.2 \| \< 0:3.2.3-9.el9\_0.4 \| \< 0:3.1.2-12.el7\_9.2 \| \< 0:3.0.6-12.el6\_10.2 \| \< 0:3.1.3-7.el8\_2.6 \| \< 0:3.1.3-12.el8\_4.6 \| \< 0:3.1.3-14.el8\_6.9 \| \< 0:3.1.3-20.el8\_8.4
- redhat rsync-daemon (Red Hat): \< 0:3.2.3-19.el9\_4.2 \| \< 0:3.2.3-19.el9\_2.2 \| \< 0:3.2.3-9.el9\_0.4 \| \< 0:3.1.3-7.el8\_2.6 \| \< 0:3.1.3-12.el8\_4.6 \| \< 0:3.1.3-14.el8\_6.9 \| \< 0:3.1.3-20.el8\_8.4

## References (first 20 of 38)

- <https://access.redhat.com/errata/RHBA-2025:6470>
- <https://access.redhat.com/errata/RHSA-2025:23154>
- <https://access.redhat.com/errata/RHSA-2025:23235>
- <https://access.redhat.com/errata/RHSA-2025:23407>
- <https://access.redhat.com/errata/RHSA-2025:23415>
- <https://access.redhat.com/errata/RHSA-2025:23416>
- <https://access.redhat.com/errata/RHSA-2025:23842>
- <https://access.redhat.com/errata/RHSA-2025:23853>
- <https://access.redhat.com/errata/RHSA-2025:23854>
- <https://access.redhat.com/errata/RHSA-2025:23858>
- <https://access.redhat.com/errata/RHSA-2025:2600>
- <https://access.redhat.com/errata/RHSA-2025:7050>
- <https://access.redhat.com/errata/RHSA-2025:8385>
- <https://access.redhat.com/security/cve/CVE-2024-12087>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2330672>
- <https://kb.cert.org/vuls/id/952657>
- <https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj>
- <https://security.netapp.com/advisory/ntap-20250131-0002/>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html>
- <https://www.kb.cert.org/vuls/id/952657>

---

Data as of 2026-12-05T06:37:25.655Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
