XE-14549 · Bounty
xe ssh Shell Command Injection (XE-2814)
Closed · duplicate
—claimed High
web
filed 2026-11-15 14:52 UTC
by rabakta
Report
Root cause cmd/xe/main.go:1204 interpolates leaseHash (user input) into ProxyCommand string shell injection.
proxyCmd := fmt.Sprintf(ssh -p %s -i %s ... %s@%s, gwPort, pemPath, leaseHash, gwHost) cmd := exec.Command(ssh, sshArgs...)
Impact
- xe ssh abc; rm -rf / leaseHash injected executed by ssh shell
- RCE as node operator
Fix Validate leaseHash is hex-only (64 chars).
Related Code
- cmd/xe/main.go:1204
Thread
Joseph Denneteam2026-11-20 19:45 UTCdesk
Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-14549 and says what differs; it is read like any other.