Summary
rclone versions from 1.51.0 up to but not including 1.76.0 contain an authentication bypass in serve sftp with --auth-proxy. The source assigns a CVSS 4.0 score of 9.2 (critical severity).
What happened
In serve sftp with --auth-proxy, the generated cache key (generateCacheKey) omits the authentication method. According to the description, an attacker who knows a victim's base64-encoded public key can submit it as a password from the same client IP, reuse the cached entry and gain read-write access to the VFS. The weakness is classified as CWE-287.
Why it matters
The issue allows read-write VFS access without legitimate authentication. The score is CVSS 4.0 9.2 (vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N), assigned by CNA:VulnCheck, with critical severity. According to CISA's KEV catalog, no active exploitation is recorded, and the source provides no evidence of exploitation before disclosure.
Affected products and versions
rclone, versions >= 1.51.0 and < 1.76.0 (affected). Version 1.76.0 is listed as unaffected.
| Product | Versions | Fixed in |
|---|---|---|
| rclone rclone | >= 1.51.0, < 1.76.0 | — |
| rclone rclone | 1.76.0 | 1.76.0 |
| rclone rclone | >= 1.51.0, < 1.76.0 | — |
Action recommended by the source
The source lists version 1.76.0 as the fixed version. The source does not mention other mitigations. Details are in the vendor advisory (GHSA-66qv-66mg-9h74) and the VulnCheck advisory.
Fixed in: 1.76.0
Sources and references
- https://github.com/rclone/rclone/security/advisories/GHSA-66qv-66mg-9h74 — CVE Program
- https://www.vulncheck.com/advisories/rclone-1.51.0-before-1.76.0-authentication-bypass-via-serve-sftp-auth-proxy-cache — CVE Program
Weaknesses (CWE): CWE-287
Relevant change history
Advisory correction
The preliminary version was replaced by the full write-up.
Published
Preliminary advisory published.