CVE-2026-29518

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

Configuration 1 (hide)

cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*

History

19 Aug 2026, 12:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:54769 -

24 Jul 2026, 10:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Rsync anteriores a la 3.4.3 contienen una condición de carrera de tiempo de verificación a tiempo de uso (TOCTOU) en el manejo de archivos del demonio que permite a los atacantes redirigir escrituras de archivos fuera de los directorios previstos reemplazando componentes de directorios padre con enlaces simbólicos. Los atacantes con acceso de escritura a una ruta de módulo pueden explotar esta condición de carrera para crear o sobrescribir archivos arbitrarios, modificando potencialmente archivos sensibles del sistema y logrando la escalada de privilegios cuando el demonio se ejecuta con privilegios elevados. Esta vulnerabilidad solo puede activarse si la configuración de chroot es falsa.

30 Jun 2026, 03:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:26332 -
  • () https://access.redhat.com/errata/RHSA-2026:26408 -
  • () https://access.redhat.com/errata/RHSA-2026:26410 -
  • () https://access.redhat.com/errata/RHSA-2026:29197 -
  • () https://access.redhat.com/security/cve/CVE-2026-29518 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2469055 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29518.json -

26 May 2026, 16:16

Type Values Removed Values Added
References
  • () https://michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/ -

21 May 2026, 17:05

Type Values Removed Values Added
References () https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531d - () https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531d - Patch
References () https://github.com/RsyncProject/rsync/releases/tag/v3.4.3 - () https://github.com/RsyncProject/rsync/releases/tag/v3.4.3 - Release Notes
References () https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-file-write - () https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-file-write - Third Party Advisory
First Time Samba
Samba rsync
CPE cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*

20 May 2026, 13:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-20 13:16

Updated : 2026-08-19 12:17


NVD link : CVE-2026-29518

Mitre link : CVE-2026-29518

CVE.ORG link : CVE-2026-29518


JSON object : View

Products Affected

samba

  • rsync
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition