CVE-2024-12087Samba Rsync
High 7.5 No auth needed
Follow: this CVE · Samba · Samba Rsync We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Jan 14, 2025
- Updated
- Oct 21, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Rsync.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | rsync | ≤ 3.3.0 |
| almalinux | almalinux | 8.0 |
| almalinux | almalinux | 9.0 |
| almalinux | almalinux | 10.0 |
| archlinux | arch_linux | all |
| gentoo | linux | all |
| nixos | nixos | < 24.11 |
| suse | suse_linux | all |
| tritondatacenter | smartos | < 20250123 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
| redhat | enterprise_linux_eus | 9.6 |
| redhat | enterprise_linux_for_arm_64 | 8.0_aarch64 |
| redhat | enterprise_linux_for_arm_64 | 9.0_aarch64 |
| redhat | enterprise_linux_for_arm_64_eus | 9.6_aarch64 |
| redhat | enterprise_linux_for_ibm_z_systems | 8.0_s390x |
| redhat | enterprise_linux_for_ibm_z_systems | 9.0_s390x |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 9.6_s390x |
| redhat | enterprise_linux_for_power_little_endian | 8.0_ppc64le |
| redhat | enterprise_linux_for_power_little_endian | 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 |
Official advisories
- Red Hat Security Advisory: rsync security update · Red Hat · RHSA-2025:23858 · Dec 23, 2025 Medium
- Red Hat Security Advisory: rsync security update · Red Hat · RHSA-2025:23853 · Dec 23, 2025 Medium
- Red Hat Security Advisory: rsync security update · Red Hat · RHSA-2025:23854 · Dec 23, 2025 Medium
Also: Red Hat (+6)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- kb.cert.org Third Party Advisory
- lists.debian.org
- security.netapp.com
- www.kb.cert.org
- github.com Exploit Third Party Advisory