Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-29518

Опубликовано: 20 мая 2026
Источник: redhat
CVSS3: 7.8
EPSS Низкий

Описание

Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.

A flaw was found in rsync. An rsync daemon configured with "use chroot = no" is exposed to a time-of-check / time-of-use race on parent path components. A local attacker with write access to a module can replace a parent directory component with a symlink between the receiver's check and its open(), redirecting reads (basis-file disclosure) and writes (file overwrite) outside the module. Under elevated daemon privilege this allows privilege escalation. Default "use chroot = yes" is not exposed. Reach: local attacker on the daemon host, write access to a module path, daemon configured with use chroot = no.

Отчет

This flaw, a Time-of-Check Time-of-Use (TOCTOU) race condition, allows a local attacker with write access to an rsync module path to achieve privilege escalation. This vulnerability specifically impacts rsync daemons configured with use chroot = no. Red Hat's default rsync daemon configuration utilizes use chroot = yes, which is not susceptible to this issue.

Меры по смягчению последствий

To prevent exploitation, ensure the rsync daemon is configured with use chroot = yes. This setting, which is the default, isolates the rsync process and prevents the symlink race condition. If use chroot = no is present in the rsync configuration (e.g., /etc/rsyncd.conf), it must be changed to use chroot = yes. A restart of the rsync service is required for any configuration changes to take effect.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6rsyncAffected
Red Hat Enterprise Linux 7rsyncAffected
Red Hat OpenShift Container Platform 4rhcosAffected
Red Hat Enterprise Linux 10rsyncFixedRHSA-2026:2633216.06.2026
Red Hat Enterprise Linux 8rsyncFixedRHSA-2026:2640816.06.2026
Red Hat Enterprise Linux 9rsyncFixedRHSA-2026:2641016.06.2026
Red Hat Enterprise Linux 9rsyncFixedRHSA-2026:2641016.06.2026
Red Hat Discovery 2discovery/discovery-ui-rhel9FixedRHSA-2026:2919724.06.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-367
https://bugzilla.redhat.com/show_bug.cgi?id=2469055rsync: TOCTOU symlink race condition allowing local privilege escalation in daemon mode without chroot.

EPSS

Процентиль: 5%
0.00152
Низкий

7.8 High

CVSS3

Связанные уязвимости

CVSS3: 7
ubuntu
2 месяца назад

Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.

CVSS3: 7
nvd
2 месяца назад

Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.

CVSS3: 7
msrc
2 месяца назад

Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write

CVSS3: 7
debian
2 месяца назад

Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TO ...

CVSS3: 7
github
2 месяца назад

Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.

EPSS

Процентиль: 5%
0.00152
Низкий

7.8 High

CVSS3