# CVE-2024-12088: Rsync: --safe-links option bypass leads to path traversal

> CVE-2024-12088: Rsync: --safe-links option bypass leads to path traversal. CVSS 6.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-12088
Last updated: 2026-10-21T21:17:28Z

- Published: 2025-01-14 17:38 UTC · Updated: 2026-10-21 21:17 UTC · Assigner: redhat
- CVSS: 6.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 4.6%, 92th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-22

## Description

A flaw was found in rsync. When using the \`--safe-links\` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.

## Affected vendors and products

- Red Hat: Red Hat Discovery 1.14
- Red Hat: Red Hat Enterprise Linux 10
- Red Hat: Red Hat Enterprise Linux 6
- Red Hat: Red Hat Enterprise Linux 7
- Red Hat: Red Hat Enterprise Linux 8
- Red Hat: Red Hat Enterprise Linux 9
- Red Hat: Red Hat OpenShift Container Platform 4

## Tracked companies

- [GitLab](https://rewindex.com/company/gitlab.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-12088)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-12088)
- [https://access.redhat.com/errata/RHBA-2025:6470](https://access.redhat.com/errata/RHBA-2025:6470)
- [https://access.redhat.com/errata/RHSA-2025:2600](https://access.redhat.com/errata/RHSA-2025:2600)
- [https://access.redhat.com/errata/RHSA-2025:7050](https://access.redhat.com/errata/RHSA-2025:7050)
- [https://access.redhat.com/errata/RHSA-2025:8385](https://access.redhat.com/errata/RHSA-2025:8385)
- [https://access.redhat.com/security/cve/CVE-2024-12088](https://access.redhat.com/security/cve/CVE-2024-12088)
- [https://bugzilla.redhat.com/show\_bug.cgi?id=2330676](https://bugzilla.redhat.com/show_bug.cgi?id=2330676)
- [https://kb.cert.org/vuls/id/952657](https://kb.cert.org/vuls/id/952657)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-12088 · Markdown: https://rewindex.com/cve/CVE-2024-12088.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-12088 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:10.424Z
