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

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.26%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-14T17:57:33.927Z
- Modified: 2026-11-03T18:20:49.112Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- rsync: up to 3.3.0 (not affected: from 0:3.4.1-2.el10 before *; from 0:3.0.6-12.el6_10.2 before *; from 0:3.1.2-12.el7_9.2 before *; from 0:3.1.3-21.el8_10 before *; from 0:3.1.3-7.el8_2.6 before *; from 0:3.1.3-12.el8_4.6 before *; from 0:3.1.3-14.el8_6.9 before *; from 0:3.1.3-20.el8_8.4 before *; from 0:3.2.5-3.el9 before *; from 0:3.2.3-9.el9_0.4 before *; from 0:3.2.3-19.el9_2.2 before *; from 0:3.2.3-19.el9_4.2 before *)
- discovery/discovery-ui-rhel9: no versions given (not affected: from 1.14.2-1748467619 before *)
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- samba rsync: up to 3.3.0
- almalinux almalinux: 8.0; 9.0; 10.0
- archlinux arch_linux: no versions given
- gentoo linux: no versions given
- nixos nixos: before 24.11
- suse suse_linux: no versions given
- tritondatacenter smartos: before 20250123
- 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

## Every score

- redhat: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj> (exploit, third-party-advisory)
- <https://access.redhat.com/errata/RHBA-2025:6470> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23154> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23235> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23407> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23415> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23416> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23842> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23853> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23854> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:23858> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:2600> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:7050> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8385> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-12087> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2330672> (issue-tracking, third-party-advisory)
- <https://kb.cert.org/vuls/id/952657> (third-party-advisory)
- <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>

## Sources

- CVE List: [CVE-2024-12087](https://www.cve.org/CVERecord?id=CVE-2024-12087), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2024-12087](https://nvd.nist.gov/vuln/detail/CVE-2024-12087), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2024-12087 · Whole record: https://cve.day/CVE-2024-12087.json · Rebuilt by cve.day 2026-11-25T22:58:51.017Z
