{"id":"XE-14549","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":1132,"title":"xe ssh Shell Command Injection (XE-2814)","area":"node-api","claimed_tier":"high","assessed_tier":null,"verdict":"duplicate","duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"duplicate","github_state":"","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-15T14:52:27.197440+00:00","updated_at":"2026-11-20T19:45:48.181699+00:00","source_created_at":null,"told_at":"2026-11-20T19:45:48.200744+00:00","status_changed_at":"2026-11-20T19:45:48.187591+00:00","url":"https://bounty.xe.network/XE-14549","body":"**Root cause**\ncmd/xe/main.go:1204 interpolates leaseHash (user input) into ProxyCommand string shell injection.\n\nproxyCmd := fmt.Sprintf(ssh -p %s -i %s ... %s@%s, gwPort, pemPath, leaseHash, gwHost)\ncmd := exec.Command(ssh, sshArgs...)\n\n**Impact**\n- xe ssh abc; rm -rf / leaseHash injected executed by ssh shell\n- RCE as node operator\n\n**Fix**\nValidate leaseHash is hex-only (64 chars).\n\n**Related Code**\n- cmd/xe/main.go:1204","patch_refs":[],"thread":[{"id":15160,"source":"desk","source_ref":"reply:13051","author":"Joseph Denne","team":true,"body":"Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the\nfirst verifiable submission, so this one closes as a duplicate. If you believe it is a different\nbug, file a new report that links https://bounty.xe.network/XE-14549 and says what differs; it is read like any other.","created_at":"2026-11-20T19:45:48.181699+00:00"}]}