GHSA-GWFQ-86J8-7QHV

GHSA-GWFQ-86J8-7QHV is a low-severity security vulnerability in github.com/rclone/rclone (go), affecting versions <= 1.74.4. It is fixed in 1.75.0.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

rclone: Verbose Stack Trace Disclosure in RC API Error Responses

When an RC API call triggers a panic (recovered by the job runner), the full Go stack trace is included in the JSON error response. This leaks internal file paths, Go module versions, goroutine state, and memory addresses to the API caller.

Details

The panic recovery in fs/rc/jobs/job.go:110-115:

func (j *Job) run(ctx context.Context, fn rc.Func, in rc.Params) {
    defer func() {
        if r := recover(); r != nil {
            j.mu.Lock()
            j.EndTime = time.Now()
            j.Error = fmt.Sprintf("panic received: %v \n%s", r, string(debug.Stack()))
            // ...
        }
    }()

The full debug.Stack() output is placed into j.Error, which is then returned in the HTTP response JSON.

PoC

Trigger a parse error by setting config path to a non-INI file, then calling dump:

curl -s -X POST http://localhost:5572/config/setpath \
  -H "Content-Type: application/json" \
  -d '{"path":"/etc/hostname"}' 

curl -s -X POST http://localhost:5572/config/dump

Response includes:

{
  "error": "panic received: fatal error: Failed to load config file \"/etc/hostname\": could not parse line: ... \ngoroutine 9 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:26 +0x64\ngithub.com/rclone/rclone/fs/rc/jobs.(*Job).run.func1()\n\tgithub.com/rclone/rclone/fs/rc/jobs/job.go:112 +0x34\n...",
  "status": 500
}

Disclosed information includes:

  • Full filesystem paths (github.com/rclone/rclone/fs/config/config.go:377)
  • Go module versions (github.com/go-chi/chi/[email protected])
  • Go runtime version (from binary)
  • Goroutine IDs and states
  • Memory addresses (ASLR leak)
  • File contents (first unparseable line of the target file)

Tested and confirmed on rclone v1.74.4.

Affected Versions

All versions with RC API support through at least v1.74.4.

Impact

Information disclosure that aids exploitation of other vulnerabilities. Stack traces reveal internal architecture, dependency versions (useful for known-CVE targeting), and memory layout. The error message also leaks partial file contents (the first line that fails INI parsing), which can be used alongside the arbitrary file read finding as a complementary file read primitive for non-INI files.

GHSA-GWFQ-86J8-7QHV has a CVSS score of 2.7 (Low). The vector is network-reachable, high privileges required, and no user interaction. 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

github.com/rclone/rclone (<= 1.74.4)

Security releases

github.com/rclone/rclone → 1.75.0 (go)

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

Return a generic error message to the API caller. Log the full stack trace server-side only. Strip debug.Stack() from HTTP responses.

Frequently Asked Questions

  1. What is GHSA-GWFQ-86J8-7QHV? GHSA-GWFQ-86J8-7QHV is a low-severity security vulnerability in github.com/rclone/rclone (go), affecting versions <= 1.74.4. It is fixed in 1.75.0.
  2. How severe is GHSA-GWFQ-86J8-7QHV? GHSA-GWFQ-86J8-7QHV has a CVSS score of 2.7 (Low). 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.
  3. Which versions of github.com/rclone/rclone are affected by GHSA-GWFQ-86J8-7QHV? github.com/rclone/rclone (go) versions <= 1.74.4 is affected.
  4. Is there a fix for GHSA-GWFQ-86J8-7QHV? Yes. GHSA-GWFQ-86J8-7QHV is fixed in 1.75.0. Upgrade to this version or later.
  5. Is GHSA-GWFQ-86J8-7QHV exploitable, and should I be worried? Whether GHSA-GWFQ-86J8-7QHV 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
  6. What actually determines whether GHSA-GWFQ-86J8-7QHV 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.
  7. How do I fix GHSA-GWFQ-86J8-7QHV? Upgrade github.com/rclone/rclone to 1.75.0 or later.

Other vulnerabilities in github.com/rclone/rclone

Stop the waste.
Protect your environment with Kodem.