CVE-2026-88014: rclone archive/zip: Zip Slip via unsanitized zip entry names lets a malicious archive escape its own namespace
backend/archive mounts a zip file as a browsable, syncable rclone Fs (e.g. rclone lsf :zip:downloaded.zip or rclone copy :zip:downloaded.zip dest:). Go’s archive/zip package does not sanitize file.Name - it is taken verbatim from the untrusted zip’s central directory. readZip() in backend/archive/zip/zip.go applies path.Clean to the entry name, but this alone cannot fully neutralize a name with more .. components than real segments preceding them (e.g. "../../etc/cron.d/evil" stays exactly as-is after cleaning). When the archive is mounted with an empty root (the common case), there was no check at all that the resulting name stayed inside the archive’s own namespace, so it was stored verbatim and returned unchanged by Object.Remote().
fs/sync/fs/operations use srcObj.Remote() directly as the destination-relative path when copying between filesystems, so a maliciously crafted zip file can cause rclone copy/sync to attempt writes outside the intended destination directory on whatever backend it targets - this is the well-known “Zip Slip” vulnerability class (https://security.snyk.io/research/zip-slip-vulnerability) applied to rclone’s own zip-mounting backend. It is distinct from cmd/archive/extract, which already validates via its own destPath() choke point and is not affected.
References
- github.com/advisories/GHSA-66hp-wgxq-6f5q
- github.com/rclone/rclone/commit/5dae3adbf571a6cd9ba501eb47397a7e871e1ae0
- github.com/rclone/rclone/commit/6507e13d5a83789f500af96d7188c302c9d74d98
- github.com/rclone/rclone/releases/tag/v1.75.1
- github.com/rclone/rclone/security/advisories/GHSA-66hp-wgxq-6f5q
- nvd.nist.gov/vuln/detail/CVE-2026-88014
Code Behaviors & Features
Detect and mitigate CVE-2026-88014 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →