CVE-2024-12087 in Almalinux and 17 more products
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 verificatio...
Affects 18 products from 8 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Almalinux | Almalinux | 8.0 9.0 10.0 |
| Archlinux | Arch Linux | No version listed by the source |
| Gentoo | Linux | No version listed by the source |
| Nixos | Nixos | < 24.11 |
| 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 For Power Little Endian Update Services For Sap Solutions | 9.6_ppc64le |
| 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 Update Services For Sap Solutions | 9.6 |
| Redhat | Enterprise Linux | 8.0 9.0 |
| Redhat | Enterprise Linux Eus | 9.6 |
| Redhat | Enterprise Linux For Ibm Z Systems | 8.0_s390x 9.0_s390x |
| Redhat | Enterprise Linux Server Aus | 9.6 |
| Samba | Rsync | ≤ 3.3.0 |
| Suse | Suse Linux | No version listed by the source |
| Tritondatacenter | Smartos | < 20250123 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-12087 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-183089-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2025-01-14 |
| Last modified | 2026-10-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A path traversal vulnerability exists in rsync due to improper symlink verification when using the default-enabled `--inc-recursive` option. This could allow unauthorized access to files outside the intended directory.
An attacker could exploit this vulnerability by crafting a malicious file list that includes symlinks pointing to files outside the intended directory. When rsync processes this list with the `--inc-recursive` option, it may follow the symlinks, leading to unauthorized access or disclosure of sensitive information.
Questions
What is CVE-2024-12087?
A path traversal vulnerability exists in rsync due to improper symlink verification when using the default-enabled `--inc-recursive` option. This could allow unauthorized access to files outside the intended directory.
What is the CVSS score for CVE-2024-12087?
CVE-2024-12087 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 2.3%.
Is CVE-2024-12087 actively exploited?
No confirmed active exploitation of CVE-2024-12087 as of 2026-10-28.
How do I remediate CVE-2024-12087?
Priority: HIGH. Advisory: https://access.redhat.com/errata/RHBA-2025:6470
What systems are affected by CVE-2024-12087?
CVE-2024-12087 affects Almalinux Almalinux; Archlinux Arch Linux; Gentoo Linux; Nixos Nixos; Redhat Enterprise Linux For Ibm Z Systems Eus, Enterprise Linux For Power Little Endian, Enterprise Linux For Power Little Endian Eus, Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions, Enterprise Linux For Arm 64, Enterprise Linux For Arm 64 Eus (plus 8 more products across 3 more vendors).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Almalinux","product":"Almalinux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-21.