Time-of-check Time-of-use (TOCTOU) Affecting rsync-debugsource package, versions <0:3.5.1-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-RSYNCDEBUGSOURCE-20247166
  • published29 Sept 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

CVE-2026-53800  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 rsync-debugsource to version 0:3.5.1-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3131.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rsync-debugsource package and not the rsync-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

rsync before 3.5.0 contains a symlink race condition vulnerability in the --remove-source-files feature that allows attackers with symlink creation access to cause arbitrary file deletion. Attackers can atomically substitute a symlink for a source file between transfer completion and the unlink() call, causing rsync to delete the symlink target rather than the intended source file.

CVSS Base Scores

version 3.1