Summary
rclone: Infinite Scale TUS Creation Transport Error Causes a Nil-Response Panic
1. Summary
A transport failure during the initial Infinite Scale TUS creation POST can return (nil response, non-nil error). Rclone dereferences the nil response before processing the error and panics. The production CreateUploader path reproduced the crash against a closed endpoint.
The security case is deployment-dependent. A one-shot upload already fails when its endpoint resets, while RC jobs recover panics in fs/rc/jobs/job.go and return a job error. The incremental denial of service is strongest in a long-lived VFS mount or concurrent/multi-remote CLI process where the upload runs in an unrecovered goroutine and the panic terminates unrelated work.
2. Affected Assets & Attack Surface
- Verified rclone revision:
a0c09f1381ae93e2a9a33c529d170186c61ad058(v1.74.0-240-ga0c09f138) - Current-master check:
backend/webdav/tus.gowas unchanged at master commit961266888fe797390c535386f3b3aa46f4853602on 2026-07-18 - Response evaluation:
backend/webdav/tus.go:45-59 - Creation path:
backend/webdav/tus.go:61-107 - Unrecovered VFS caller:
vfs/write.go:71-81 - Contained RC caller:
fs/rc/jobs/job.go:107-115 - Configuration: Infinite Scale WebDAV uploads using TUS
- Code triggers: any pre-response transport failure, including refusal, reset, timeout, DNS/TLS/proxy failure, or cancellation
- Security trigger: a malicious/compromised configured endpoint resets an upload in a long-lived or multi-workload process
3. Technical Root Cause Analysis
getTusLocationOrRetry switches on resp.StatusCode before checking whether resp is nil or handling the accompanying error. A nil response is valid when the HTTP transaction fails before a response is parsed. There is no recovery boundary in the WebDAV operation itself. Whether the panic is process-fatal depends on its caller: the VFS write path starts operations.Rcat in an unrecovered goroutine (vfs/write.go:71-81), whereas RC jobs wrap their function in recover (fs/rc/jobs/job.go:107-115).
4. Proof-of-Concept & Evidence
- Configure the actual Infinite Scale creation path to a closed local endpoint.
- Invoke
Object.CreateUploader. - The POST returns a transport error and no response.
getTusLocationOrRetrydereferencesresp.StatusCodeand panics.
A remote endpoint can produce the same (nil response, non-nil error) state by accepting and resetting the connection before returning an HTTP response. TLS prevents arbitrary response modification but does not prevent the configured endpoint from closing or resetting its own connection. Refusal, DNS, TLS, proxy, and cancellation failures exercise the code defect but do not by themselves identify a remote security actor.
5. Impact Assessment
In an unrecovered CLI or VFS upload goroutine, the panic terminates the rclone process and any unrelated work it hosts. A hostile configured endpoint can repeat the condition whenever the victim initiates a TUS upload. RC jobs are excluded from the process-wide impact because their execution boundary recovers the panic and records an error. In a one-shot process dedicated to the hostile endpoint, the incremental security impact over an ordinary transport error is limited.
6. Remediation Guidance
- Check
resp == nilbefore accessing response fields. - Pass transport errors through the existing retry policy and return a normal error after exhaustion.
- Test refusal, reset, timeout, DNS, TLS, proxy, and cancellation paths.
- Add panic containment to long-lived worker goroutines as defense in depth; keep nil handling as the primary fix.
Impact
The application dereferences a null pointer, causing a crash. Typical impact: denial of service via crash.
GHSA-3X6R-WXXG-53VV has a CVSS score of 5.3 (Medium). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (1.75.0); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is GHSA-3X6R-WXXG-53VV? GHSA-3X6R-WXXG-53VV is a medium-severity null pointer dereference vulnerability in github.com/rclone/rclone (go), affecting versions <= 1.74.0. It is fixed in 1.75.0. The application dereferences a null pointer, causing a crash.
- How severe is GHSA-3X6R-WXXG-53VV? GHSA-3X6R-WXXG-53VV has a CVSS score of 5.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which versions of github.com/rclone/rclone are affected by GHSA-3X6R-WXXG-53VV? github.com/rclone/rclone (go) versions <= 1.74.0 is affected.
- Is there a fix for GHSA-3X6R-WXXG-53VV? Yes. GHSA-3X6R-WXXG-53VV is fixed in 1.75.0. Upgrade to this version or later.
- Is GHSA-3X6R-WXXG-53VV exploitable, and should I be worried? Whether GHSA-3X6R-WXXG-53VV is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether GHSA-3X6R-WXXG-53VV is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix GHSA-3X6R-WXXG-53VV? Upgrade
github.com/rclone/rcloneto 1.75.0 or later.