Bounty
XE-0068 · Bounty

[Lease State Machine] lease_accept bypasses the multisig threshold — a single signature accepts a 2-of-2 multisig lease

Closed · duplicate Medium xe#93 filed 2026-10-26 21:54 UTC by xe:6cf52cc9

Report

Suggested severity: Medium (2,500 XE).

Summary

validateAndAddLeaseAccept (core/ledger.go:1620) ignores the lease's Multisig requirement: it verifies only ONE signature over the lease hash, from the provider account. The send path (validateAndAddSend, core/ledger.go:1330) correctly rejects a 1-of-2 signature with "got 1, need 2". Accept has no equivalent check: it never calls the multisig validation used for send, and never compares the number of signer keys against lease.Multisig.Threshold.

Impact

A single compromised provider key (or a single rogue provider signer) can accept a multisig lease unilaterally, bypassing the second signer entirely. The multisig protection that users rely on for high-value leases is silently absent at the exact step that commits the lease to the chain.

Steps to Reproduce (local, no real funds)

  1. Create a lease whose Multisig requires 2-of-2 provider signers.
  2. Submit a lease_accept carrying only ONE provider signature.
  3. Observed: accept succeeds and the lease moves to Accepted state.
  4. Control: submit a send transaction on a 2-of-2 multisig account with only one signature. Observed: rejected with "got 1, need 2".

Recommendation

Apply the same multisig validation in validateAndAddLeaseAccept as in the send path: verify signatures from at least lease.Multisig.Threshold distinct keys before transitioning a lease to Accepted.

Honest caveat: stake today is 0, so the direct fund-at-risk is bounded by the lease Cost; if the team considers multisig a UI-level convenience rather than a consensus guarantee, severity may drop to Minor (650 XE). The inconsistency with the send path is objective either way.

Payout address: to be provided on request.

Thread

Joseph Denneteam2026-11-05 22:06 UTCgithub

Thanks. This is the same finding as https://bounty.xe.network/XE-0001, 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, reply with what differs and we will look again.