<!-- XE-12955 · xe lease submits the signed lease block through hardcoded third-party nodes, ignoring the configured node · testnet -->
*Markdown view of <https://bounty.xe.network/XE-12955>. The page is the record; this is the same page for reading.*

XE-12955 · Bounty

# xe lease submits the signed lease block through hardcoded third-party nodes, ignoring the configured node

Closed · duplicate
—claimed Medium
web
filed 2026-11-14 14:45 UTC
by Jeri055

Verdict
:   Duplicate

Tier
:   —

Claimed
:   Medium

Area
:   SDK / docs / web

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-20 19:46 UTC

Told
:   2026-11-20 19:46 UTC

### Patches

None linked.

### History

- [627143](https://bounty.xe.network/log/627143) 2026-11-20 19:46 UTC proposal.adopted
- [627142](https://bounty.xe.network/log/627142) 2026-11-20 19:46 UTC reply.sent
- [627141](https://bounty.xe.network/log/627141) 2026-11-20 19:46 UTC ticket.status new → closed
- [624541](https://bounty.xe.network/log/624541) 2026-11-20 19:45 UTC proposal.adopted
- [624540](https://bounty.xe.network/log/624540) 2026-11-20 19:45 UTC ticket.facts area
- [624536](https://bounty.xe.network/log/624536) 2026-11-20 19:45 UTC proposal.adopted
- [624535](https://bounty.xe.network/log/624535) 2026-11-20 19:45 UTC ticket.facts
- [624531](https://bounty.xe.network/log/624531) 2026-11-20 19:45 UTC proposal.adopted
- [624530](https://bounty.xe.network/log/624530) 2026-11-20 19:45 UTC ticket.facts
- [606618](https://bounty.xe.network/log/606618) 2026-11-20 14:44 UTC note.added
- [606617](https://bounty.xe.network/log/606617) 2026-11-20 14:44 UTC proposal.created
- [606616](https://bounty.xe.network/log/606616) 2026-11-20 14:44 UTC proposal.created

[Full history](https://bounty.xe.network/log?ref=XE-12955) · [JSON](https://bounty.xe.network/v1/tickets/XE-12955) · [markdown](https://bounty.xe.network/XE-12955.md)

### Report

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.

Documented 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.

Code 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.

Reproduction. 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.

Impact. 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).

### Thread

**Joseph Denne**team2026-11-20 19:46 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-12955 and says what differs; it is read like any other.
