{"id":"XE-12955","kind":"bounty","visibility":"public","source":"web","source_repo":"","source_ref":"","source_url":"","reporter_id":2416,"title":"xe lease submits the signed lease block through hardcoded third-party nodes, ignoring the configured node","area":"sdk-docs-web","claimed_tier":"medium","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-14T14:45:31.044659+00:00","updated_at":"2026-11-20T19:46:11.373979+00:00","source_created_at":null,"told_at":"2026-11-20T19:46:11.403814+00:00","status_changed_at":"2026-11-20T19:46:11.385670+00:00","url":"https://bounty.xe.network/XE-12955","body":"Summary. xe lease never submits through the user's configured node first. It posts the signed lease block to one of three hardcoded public testnet nodes and only falls back to XE_NODE if all three are unreachable.\r\n\r\nDocumented rule. Submission goes to the endpoint the user configured (XE_NODE, resolved by nodeURL()); the network id is already read from that node, so signing and submission are expected to target the same deployment.\r\n\r\nCode path. xe/cmd/xe/main.go pickSubmitNode (lines 1744-1762) iterates ldn/ffm/nyc.core.test.network, returns the first node whose address is not the provider's, and returns nodeURL() only when all three probes fail; its *client.Client parameter is unused. The lease flow (line 1086) submits the signed block through the returned URL. Affected code is at xe HEAD 89a542e.\r\n\r\nReproduction. Set XE_NODE to a locally controlled endpoint, run xe lease, and observe (in the endpoint's absence of traffic, and the hardcoded nodes' receipt of the block) that the signed lease block - including the lease SSH access public key - goes to a hardcoded public node, not the configured one.\r\n\r\nImpact. Confidentiality (signed financial block + SSH access key disclosed to third-party nodes) and correctness (lease creation breaks, or lands on the wrong network, for anyone not on the public testnet).","patch_refs":[],"thread":[{"id":15633,"source":"desk","source_ref":"reply:13524","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-12955 and says what differs; it is read like any other.","created_at":"2026-11-20T19:46:11.373979+00:00"}]}