Skip to main content
EPSS 0.1%top 99%

CVE-2026-53796: CWE-59 Improper Link Resolution Before File Access ('Link Following') in RsyncProject rsync

0
Medium
Published: 08/13/2026 (08/13/2026, 14:39:46 UTC)
Source: CVE Database V5
Vendor/Project: RsyncProject
Product: rsync

Description

A time-of-check to time-of-use (TOCTOU) race condition exists in rsync before version 3.5.0 in the non-daemon receiver's handling of the destination directory. This vulnerability allows an attacker who can manipulate the destination path's parent components to redirect file writes to unintended locations by substituting a symlink between path resolution and the directory change operation. This causes the working directory to be set outside the intended destination tree, potentially leading to unauthorized file writes.

CVSS v4.0

Score 5.8medium

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

RsyncProject

rsync

Affected versions
>=0 <=3.4.4
GitHub Actionsmore threats →cve
rsync
pkg:github/rsync
Affected versions
>=0 <=3.4.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 13:38:07 UTC

Technical Analysis

CVE-2026-53796 is a TOCTOU race condition vulnerability in rsync versions before 3.5.0 affecting the non-daemon receiver's destination directory handling. An attacker able to manipulate components of the destination path can replace a path component with a symbolic link after the path is checked but before the directory change (chdir()) call. This results in the receiver's working directory being established outside the intended destination directory tree, causing subsequent relative-path file writes to be redirected to unintended filesystem locations. The vulnerability is classified under CWE-59 (Improper Link Resolution Before File Access).

Potential Impact

An attacker with the ability to influence the destination path parent components can cause rsync to write files outside the intended directory tree. This could lead to unauthorized file modification or overwriting in arbitrary filesystem locations accessible to the rsync process, potentially impacting system integrity or security depending on the context of use.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running vulnerable versions of rsync in environments where untrusted users can influence destination path components. Monitor vendor channels for updates regarding patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-10T20:14:32.828Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a7ddec6bf8831d5395cfced

Added to database: 08/13/2026, 15:12:06 UTC

Last enriched: 08/21/2026, 13:38:07 UTC

Last updated: 09/25/2026, 13:47:46 UTC

Views: 41

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses