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

Exp

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.

Published: 2025-01-14 Last update: 2026-04-14 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-12087 is rated High Exploit Risk (72.2/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 3.19%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-12087

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-12087

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-22 2.40% 3.19% +0.79%
2 2026-04-21 3.19% 2.40% -0.79%
3 2026-03-09 3.19%

Full EPSS history (29 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-12087

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2024-12087

OS Trackers for CVE-2024-12087

vendor priority summary link
alpine CVE-2024-12087: 1 source package rows (rsync); 25 state rows across 6 repos (3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 6, open 19. https://security.alpinelinux.org/vuln/CVE-2024-12087
debian not yet assigned CVE-2024-12087 not yet assigned priority: Debian including 1 source packages (rsync), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-12087
gentoo high CVE-2024-12087: 1 GLSA(s) (202501-01), 1 atom(s) (net-misc/rsync); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-12087
redhat medium https://access.redhat.com/security/cve/CVE-2024-12087
suse high CVE-2024-12087 severity important: SUSE including 265 source package names (15.7.20.5.1:rsync-3.2.7-150600.3.8.1, 2.0.4-3.5.253:rsync-3.2.3-150400.3.17.1, …), 591 product×package rows across 323 product lines (Container bci/kiwi, Container suse/hpc/warewulf4-x86_64/sle-hpc-node, … (323 product lines)): Fixed 360, Known Affected 231. https://www.suse.com/security/cve/CVE-2024-12087/
ubuntu medium CVE-2024-12087 medium priority: Ubuntu including 1 source packages (rsync), 8 status rows across 8 suites (bionic, focal, jammy, noble, oracular, trusty, upstream, xenial): released 8. https://ubuntu.com/security/CVE-2024-12087

Affected software / configurations for CVE-2024-12087

Vendor Product Version Raw CPE
samba rsync <= 3.3.0 cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*
almalinux almalinux 8.0 cpe:2.3:o:almalinux:almalinux:8.0:-:*:*:*:*:*:*
almalinux almalinux 9.0 cpe:2.3:o:almalinux:almalinux:9.0:-:*:*:*:*:*:*
almalinux almalinux 10.0 cpe:2.3:o:almalinux:almalinux:10.0:-:*:*:*:*:*:*
archlinux arch_linux cpe:2.3:o:archlinux:arch_linux:-:*:*:*:*:*:*:*
gentoo linux cpe:2.3:o:gentoo:linux:-:*:*:*:*:*:*:*
nixos nixos < 24.11 cpe:2.3:o:nixos:nixos:*:*:*:*:*:*:*:*
suse suse_linux cpe:2.3:o:suse:suse_linux:-:*:*:*:*:*:*:*
tritondatacenter smartos < 20250123 cpe:2.3:o:tritondatacenter:smartos:*:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhat enterprise_linux 9.0 cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
redhat enterprise_linux_eus 9.6 cpe:2.3:o:redhat:enterprise_linux_eus:9.6:*:*:*:*:*:*:*
redhat enterprise_linux_for_arm_64 8.0_aarch64 cpe:2.3:o:redhat:enterprise_linux_for_arm_64:8.0_aarch64:*:*:*:*:*:*:*
redhat enterprise_linux_for_arm_64 9.0_aarch64 cpe:2.3:o:redhat:enterprise_linux_for_arm_64:9.0_aarch64:*:*:*:*:*:*:*
redhat enterprise_linux_for_arm_64_eus 9.6_aarch64 cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus:9.6_aarch64:*:*:*:*:*:*:*
redhat enterprise_linux_for_ibm_z_systems 8.0_s390x cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0_s390x:*:*:*:*:*:*:*
redhat enterprise_linux_for_ibm_z_systems 9.0_s390x cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:9.0_s390x:*:*:*:*:*:*:*
redhat enterprise_linux_for_ibm_z_systems_eus 9.6_s390x cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.6_s390x:*:*:*:*:*:*:*
redhat enterprise_linux_for_power_little_endian 8.0_ppc64le cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0_ppc64le:*:*:*:*:*:*:*
redhat enterprise_linux_for_power_little_endian 9.0_ppc64le cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:9.0_ppc64le:*:*:*:*:*:*:*
redhat enterprise_linux_for_power_little_endian_eus 9.6_ppc64le cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.6_ppc64le:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 9.6 cpe:2.3:o:redhat:enterprise_linux_server_aus:9.6:*:*:*:*:*:*:*
redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions 9.6_ppc64le cpe:2.3:o: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 cpe:2.3:o:redhat:enterprise_linux_update_services_for_sap_solutions:9.6:*:*:*:*:*:*:*

References for CVE-2024-12087

URL Tags
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 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:7050 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:8385 Third Party Advisory
https://access.redhat.com/security/cve/CVE-2024-12087 Third Party Advisory
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://lists.debian.org/debian-lts-announce/2025/01/msg00008.html
https://security.netapp.com/advisory/ntap-20250131-0002/
https://www.kb.cert.org/vuls/id/952657
https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj Exploit Third Party Advisory
cvelogic Threat Intelligence