CVE-2024-12087: Path Traversal via Symlink Validation in rsync --inc-recursive
- Vendors
- AlmalinuxArch LinuxRed HatGentooNixosSambaTritondatacenterSuse
CVE-2024-12087 is a path traversal vulnerability in rsync's incremental-recursion processing. When the --inc-recursive option is in use, insufficient symbolic-link verification combined with per-file-list deduplication checks can permit a malicious rsync server to cause writes outside the client’s intended destination directory. The option is enabled by default for many client options and may also be enabled by the server even when the client did not explicitly request it.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A malicious rsync server can write attacker-controlled files outside the intended destination directory on the client, to arbitrary locations named after valid client directories or paths. This can compromise the integrity of files outside the synchronization target.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid synchronizing from untrusted or unverified rsync servers. Restrict rsync network exposure and access to trusted endpoints; where operationally feasible, require authentication for rsync access.
Remediation
Patch, then assume compromise.
Upgrade rsync to version 3.4.0 or a later vendor-provided patched release. Where rsync is supplied by an operating-system vendor or product, install the corresponding patched package or security update.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-12087 exploited in the wild?
- As of Oct 1, 2026, Mallory has no reports of CVE-2024-12087 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-12087?
- Yes. As of Oct 1, 2026, Mallory has reports of a public exploit for CVE-2024-12087.
- Is there a patch for CVE-2024-12087?
- Upgrade rsync to version 3.4.0 or a later vendor-provided patched release. Where rsync is supplied by an operating-system vendor or product, install the corresponding patched package or security update.
- What products are affected by CVE-2024-12087?
- Samba Rsync, Almalinux, Arch Linux, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux For Arm 64, and 13 more.
- How severe is CVE-2024-12087?
- CVE-2024-12087 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 1.9% (80th percentile) as of Oct 1, 2026.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.