7.1 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): Passive (P)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Passive (P)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
rsync < 3.5.0 Arbitrary File Deletion via Malicious File List
rsync before 3.5.0 contains an improper path handling vulnerability that allows a malicious sender to expand the scope of --delete operations beyond the intended destination subtree by sending a crafted file list that causes rsync to reclassify implied parent directory entries or treat synthetic paths as the transfer root. Attackers can exploit multiple variants including implied parent reclassification, synthetic root path construction, legacy protocol behavior below version 30, and non-directory root handling to cause the receiver to delete files outside the authorized destination directory.
References
-
GitHub Security Advisory (GHSA-fxwg-7hmf-xh5q) vendor-advisory
-
Release Notes release-notes
-
https://www.vulncheck.com/advisories/rsync-arbitrary-file-deletion-via-maliciou… third-party-advisory
Affected products
- =<3.4.4
- ==3.5.0
Matching in nixpkgs
pkgs.rsync
Fast incremental file transfer utility
pkgs.grsync
Synchronize folders, files and make backups
pkgs.rrsync
Helper to run rsync-only environments from ssh-logins
pkgs.rsyncy
Progress bar wrapper for rsync
pkgs.btrsync
Btrfs replication made easy
pkgs.parsync
Tool to parallel rsync-like pull sync over SSH
pkgs.librsync
Implementation of the rsync remote-delta algorithm
pkgs.diskrsync
Rsync for block devices and disk images
pkgs.lazyrsync
Terminal UI for rsync with profiles, dry-run preview and live progress
-
nixos-unstable -
- nixos-unstable-small 0.2.0
pkgs.openrsync
BSD-licensed implementation of rsync
-
nixos-unstable 2025-01-27
- nixpkgs-unstable 0.5.0-unstable-2026-05-31
- nixos-unstable-small 0.5.0-unstable-2026-05-31
-
nixos-26.05 2025-01-27
- nixos-26.05-small 2025-01-27
- nixpkgs-26.05-darwin 2025-01-27
pkgs.vdirsyncer
Synchronize calendars and contacts
pkgs.sqlite-rsync
Database remote-copy tool for SQLite
pkgs.yaziPlugins.rsync
Simple rsync plugin for yazi file manager
-
nixos-unstable 0-unstable-2026-03-07
- nixpkgs-unstable 0-unstable-2026-03-07
- nixos-unstable-small 1.0.1
-
nixos-26.05 0-unstable-2026-03-07
- nixos-26.05-small 0-unstable-2026-03-07
- nixpkgs-26.05-darwin 0-unstable-2026-03-07
pkgs.python313Packages.btrsync
Btrfs replication made easy
pkgs.python314Packages.btrsync
Btrfs replication made easy
pkgs.python313Packages.sysrsync
Simple and safe system's rsync wrapper for Python
pkgs.python314Packages.sysrsync
Simple and safe system's rsync wrapper for Python
pkgs.python313Packages.vdirsyncer
Synchronize calendars and contacts
Package maintainers
-
@bcyran Bazyli Cyran <bazyli@cyran.dev>
-
@jluttine Jaakko Luttinen <jaakko.luttinen@iki.fi>
-
@kuznero Roman Kuznetsov <roman@kuznero.com>
-
@fgaz Francesco Gazzetta <fgaz@fgaz.me>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@veprbl Dmitry Kalinkin <veprbl@gmail.com>
-
@stephen-huan Stephen Huan <stephen.huan@cgdct.moe>
-
@leona-ya Leona Maroni <nix@leona.is>
-
@balsoft Alexander Bantyev <balsoft75@gmail.com>
-
@pyrox0 Pyrox <pyrox@pyrox.dev>
-
@andir Andreas Rammhold <andreas@rammhold.de>
-
@nycodeghg Marie Ramlow <tabmeier12+nix@gmail.com>
-
@JohnAZoidberg Daniel Schäfer <git@danielschaefer.me>
-
@teto Matthieu Coudron <mcoudron@hotmail.com>
-
@KiryuuLight Luis Ortiz