{"id":"XE-0068","kind":"bounty","visibility":"public","source":"github","source_repo":"xeprotocol/xe","source_ref":"93","source_url":"https://github.com/xeprotocol/xe/issues/93","reporter_id":2867,"title":"[Lease State Machine] lease_accept bypasses the multisig threshold — a single signature accepts a 2-of-2 multisig lease","area":"leasing-ledger","claimed_tier":"medium","assessed_tier":"medium","verdict":"valid","duplicate_of":"XE-0001","tracked":true,"internal_ref":"#849","internal_url":"https://github.com/xeprotocol/core/issues/849","status":"closed","closed_reason":"duplicate","github_state":"closed","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-10-29T13:57:20.083170+00:00","updated_at":"2026-11-16T13:42:49.539255+00:00","source_created_at":"2026-10-26T21:54:13+00:00","told_at":"2026-11-05T22:06:22+00:00","status_changed_at":"2026-11-05T22:06:08.182316+00:00","url":"https://bounty.xe.network/XE-0068","body":"Suggested severity: Medium (2,500 XE).\n\n## Summary\n\n`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`.\n\n## Impact\n\nA 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.\n\n## Steps to Reproduce (local, no real funds)\n\n1. Create a lease whose Multisig requires 2-of-2 provider signers.\n2. Submit a `lease_accept` carrying only ONE provider signature.\n3. Observed: accept succeeds and the lease moves to Accepted state.\n4. Control: submit a `send` transaction on a 2-of-2 multisig account with only one signature. Observed: rejected with \"got 1, need 2\".\n\n## Recommendation\n\nApply 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.\n\nHonest 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.\n\nPayout address: to be provided on request.","patch_refs":[{"id":130,"repo":"xeprotocol/xe","kind":"pr","ref":"110","title":"fix(core): treat BlockLeaseAccept as spending op to enforce multisig threshold (#93)","url":"https://github.com/xeprotocol/xe/pull/110","note":"","state":"open","author":"arturbarszcz78","added_by":"desk","created_at":"2026-10-29T13:57:30.091343+00:00"}],"thread":[{"id":361,"source":"github","source_ref":"6670774647","author":"Joseph Denne","team":true,"body":"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.","created_at":"2026-11-05T22:06:22+00:00"}]}