Path traversal in rclone - #VU155812

 

Path traversal in rclone - #VU155812

Published: October 15, 2026


Vulnerability identifier: #VU155812
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to create and overwrite files and directories outside the served root.

The vulnerability exists due to path traversal through an unvalidated '..' path component in rclone's serve webdav implementation when handling MKCOL requests. A remote attacker can send an MKCOL request to /.. followed by crafted write requests through the resulting virtual directory node to create and overwrite files and directories outside the served root.

Exploitation requires a writable served remote with a non-empty root and a backend that joins the root and remote path before encoding path components. Applicable backends include webdav, ftp, sftp, http and memory; local and s3 backends are not affected by this mechanism.


Affected software

rclone

Remediation

Install security update from vendor's website.

rclone - update to 1.75.2

External References

Related Security Bulletins