CVEfocus › CVE database › CVE-2024-12088

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

CVSS 6.5 MediumEPSS 1.9% (higher than 80% of CVEs)Published 2025-01-14Updated 2026-11-05Assigner: redhat

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.

CWE-22

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

28Fixed
3Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04rsyncFixed3.2.7-1ubuntu1.1UBUNTU-CVE-2024-12088
Ubuntu 22.04rsyncFixed3.2.7-0ubuntu0.22.04.3UBUNTU-CVE-2024-12088
Ubuntu 20.04rsyncFixed3.1.3-8ubuntu0.8UBUNTU-CVE-2024-12088
Ubuntu 18.04rsyncFix pending3.1.2-2.1ubuntu1.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-12088
Ubuntu 16.04rsyncFix pending3.1.1-3ubuntu1.3+esm3 (Ubuntu Pro)UBUNTU-CVE-2024-12088
Ubuntu 14.04rsyncFix pending3.1.0-2ubuntu0.4+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-12088
Debian 14rsyncFixed3.3.0+ds1-3DEBIAN-CVE-2024-12088
Debian 13rsyncFixed3.3.0+ds1-3DEBIAN-CVE-2024-12088
Debian 12rsyncFixed3.2.7-1+deb12u1DEBIAN-CVE-2024-12088
Red Hat Enterprise Linux 10rsyncFixed0:3.4.1-2.el10RHBA-2025:6470
Red Hat Enterprise Linux 10rsync-daemonFixed0:3.4.1-2.el10RHBA-2025:6470
Red Hat Enterprise Linux 10rsync-rrsyncFixed0:3.4.1-2.el10RHBA-2025:6470
Red Hat Enterprise Linux 9rsyncFixed0:3.2.5-3.el9RHSA-2025:7050
Red Hat Enterprise Linux 9rsync-daemonFixed0:3.2.5-3.el9RHSA-2025:7050
Red Hat Enterprise Linux 9rsync-rrsyncFixed0:3.2.5-3.el9RHSA-2025:7050
Red Hat Enterprise Linux 8rsyncFixed0:3.1.3-21.el8_10RHSA-2025:2600
Red Hat Enterprise Linux 8rsync-daemonFixed0:3.1.3-21.el8_10RHSA-2025:2600
Red Hat Enterprise Linux 7rsyncWill not fix
Out of support scope
Red Hat Enterprise Linux 6rsyncWill not fix
Out of support scope
AlmaLinux 9rsyncFixed3.2.5-3.el9ALSA-2025:7050
AlmaLinux 9rsync-daemonFixed3.2.5-3.el9ALSA-2025:7050
AlmaLinux 9rsync-rrsyncFixed3.2.5-3.el9ALSA-2025:7050
AlmaLinux 8rsyncFixed3.1.3-21.el8_10ALSA-2025:2600
AlmaLinux 8rsync-daemonFixed3.1.3-21.el8_10ALSA-2025:2600
Rocky Linux 9rsyncFixed0:3.2.5-3.el9RLSA-2025:7050
Rocky Linux 8rsyncFixed0:3.1.3-21.el8_10RLSA-2025:2600
Alpine Linux 3.24rsyncFixed3.4.0-r0ALPINE-CVE-2024-12088
Alpine Linux 3.23rsyncFixed3.4.0-r0ALPINE-CVE-2024-12088
Alpine Linux 3.22rsyncFixed3.4.0-r0ALPINE-CVE-2024-12088
Alpine Linux 3.21rsyncFixed3.4.0-r0ALPINE-CVE-2024-12088
Alpine Linux 3.20rsyncFixed3.4.0-r0ALPINE-CVE-2024-12088
Alpine Linux 3.19rsyncFixed3.4.0-r0ALPINE-CVE-2024-12088
Alpine Linux 3.18rsyncFixed3.4.0-r0ALPINE-CVE-2024-12088

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.