{"id":"CVE-2026-29518","aliases":["CVE-2026-29518"],"related":[],"kind":"vulnerability","state":"published","title":"Rsync < 3.4.3 TOCTOU Race Condition Allows Symlink-Based Arbitrary File Write","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-20T12:48:07.656Z","modified":"2026-11-08T14:01:55.183Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-367"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.4.3","status":"affected"}],"vendor":"RsyncProject","product":"rsync","repo":"https://github.com/RsyncProject/rsync","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.4.4-1.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"rsync","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.1.3-27.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"rsync","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.2.5-7.el9_8.2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"rsync","cpe":"cpe:/a:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.22.9.8.202608130832-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.22","package":"rhcos","cpe":"cpe:/a:redhat:openshift:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782166952","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Discovery 2","package":"discovery/discovery-ui-rhel9","cpe":"cpe:/a:redhat:discovery:2::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"rsync","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"rsync","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.4.3"}],"vendor":"samba","product":"rsync","cpe":"cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/RsyncProject/rsync/pull/895/changes/8471fdd1561049ef5f58df44a1811a50bd9a531d","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RsyncProject/rsync/releases/tag/v3.4.3","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://michael.stapelberg.ch/posts/2026-05-24-minimal-memory-safe-go-rsync-vulns/","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/rsync-toctou-race-condition-allows-symlink-based-arbitrary-file-write","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-29518","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2469055","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29518.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54769","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26332","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26410","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26408","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:29197","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Nullx3D (Batuhan SANCAK)","Michael Stapelberg","Damien Neil"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-20T14:50:13.900Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-29518","url":"https://www.cve.org/CVERecord?id=CVE-2026-29518","licence":"CVE Terms of Use","modified":"2026-11-08T14:01:55.183Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-29518","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29518","licence":"Public domain","modified":"2026-08-19T12:17:41.960Z"}],"updatedAt":"2026-11-25T22:59:22.041Z","epss":{"score":0.00152,"percentile":0.04562,"date":"2026-12-01T12:00:22.000Z"}}