<!-- XE-0093 · Multisig threshold bypass on non-spending operations · testnet -->
*Markdown view of <https://bounty.xe.network/XE-0093>. The page is the record; this is the same page for reading.*

XE-0093 · Bounty

# Multisig threshold bypass on non-spending operations

Closed · duplicate
—claimed High
[xe#157](https://github.com/xeprotocol/xe/issues/157)
filed 2026-10-29 02:43 UTC
by 0xMissy22

Verdict
:   Duplicate

Tier
:   —

Claimed
:   High

Area
:   —

Duplicate of
:   [XE-0068](https://bounty.xe.network/XE-0068) closed

Tracked
:   —

Updated
:   2026-11-10 00:11 UTC

Told
:   2026-11-05 22:06 UTC

### Patches

- [xe#209](https://github.com/xeprotocol/xe/pull/209) open by NePreby
  fix(core): enforce multisig threshold on lease operations and guard signer keys (fixes #157)

### History

- [8936](https://bounty.xe.network/log/8936) 2026-11-05 22:06 UTC github.state\_pushed
- [8935](https://bounty.xe.network/log/8935) 2026-11-05 22:06 UTC github.labels
- [8932](https://bounty.xe.network/log/8932) 2026-11-05 22:06 UTC reply.mirrored
- [8897](https://bounty.xe.network/log/8897) 2026-11-05 22:05 UTC reply.sent
- [8896](https://bounty.xe.network/log/8896) 2026-11-05 22:05 UTC proposal.adopted
- [8895](https://bounty.xe.network/log/8895) 2026-11-05 22:05 UTC proposal.adopted
- [8894](https://bounty.xe.network/log/8894) 2026-11-05 22:05 UTC ticket.status new → closed
- [8893](https://bounty.xe.network/log/8893) 2026-11-05 22:05 UTC proposal.adopted
- [8892](https://bounty.xe.network/log/8892) 2026-11-05 22:05 UTC ticket.facts
- [8891](https://bounty.xe.network/log/8891) 2026-11-05 22:05 UTC proposal.adopted
- [8890](https://bounty.xe.network/log/8890) 2026-11-05 22:05 UTC ticket.facts
- [7137](https://bounty.xe.network/log/7137) 2026-11-05 14:02 UTC proposal.created

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

### Report

# Multisig threshold bypass on non-spending operations

## Summary

One member of a threshold multisig account can unilaterally execute every
non-spending operation — `lease_accept`, `lease_cancel`, `lease_force_settle`,
`lease_settle` — because the credential check routes non-spending block types
to `VerifyMultisigAny` (first valid signature wins) instead of the threshold
check. Only fund-out operations (send, burn, lease, renew, multisig open /
update, mint) enforce the threshold.

## Impact

A single rogue member of a threshold multisig provider account can bind the
shared account to serve a lease (accept), cancel it, force-settle it, or
settle it, against the will of the other members. For `lease_accept`, this
locks the shared account's XUSD stake into escrow and commits it to a service
obligation. This is encumbrance plus settlement control, not direct theft:
fund-out operations still require the full threshold.

Suggested program tier: **High** (privilege escalation).

## Root cause

- `core/ledger.go` `verifyBlockCredential`: when a block carries signatures,
  spending operations go to `VerifyMultisig` (threshold enforced); everything
  else goes to `VerifyMultisigAny`.
- `core/multisig.go` `IsSpendingOp`: only send, burn, lease, renew,
  multisig\_open, multisig\_update, and mint return true. `lease_accept`,
  `lease_cancel`, `lease_force_settle`, and `lease_settle` are not spending
  operations.
- `core/multisig.go` `VerifyMultisigAny`: returns success on the first
  signature that verifies against any keyset member. The threshold is ignored.

## Proof of concept

Target: `xeprotocol/xe` @ `978785929bc17a2f4ab30c383e5fc9cf4d634512`
(2026-10-15). The harness runs against the real `core` and `store` packages
via a replace directive; the repository itself is not modified.

Attached PoCs: `pocs/harness-slice1-main.go.txt` (byte-identical copy of the
runnable harness; the accept case is the `C1` section) and
`pocs/harness-f01-legs-main.go.txt` (byte-identical copy of the harness for
the remaining three legs).

Run (Go 1.25.14):

```
export PATH="$HOME/.local/go/bin:$PATH"
cd harness-slice1
GOPROXY=off go run .
cd ../harness-f01-legs
GOPROXY=off go run .
```

Observed output (verbatim, accept leg):

```
1-of-3 accept (threshold 2) AddBlock err=<nil>
lease state after 1-sig accept: accepted (expected accepted if bypass)
1-of-3 send (threshold 2) AddBlock err=multisig: insufficient signatures: got 1, need 2 (expect threshold error)
```

Observed output (verbatim, remaining legs):

```
cancel outsider-sig AddBlock err=multisig: no valid signature from any keyset member (expect failure)
cancel 1-sig (threshold 2) AddBlock err=<nil>
lease state after 1-sig cancel: cancelled
force-settle 1-sig (threshold 2) AddSyncedBlock err=<nil>
lease state after 1-sig force-settle: unfulfilled
pending after force-settle: <nil> (nil = deleted)
accept 1-sig (threshold 2) AddBlock err=<nil>
settle 1-sig (threshold 2) AddSyncedBlock err=<nil>
lease state after 1-sig settle: settled
provider XE before=0 after=80000 (expected +80000)
```

So a threshold-2 multisig account accepted, cancelled, force-settled, and
settled leases on one member's signature alone, while the same single
signature on a send was correctly rejected — and an outsider's signature on
the cancel was correctly rejected, proving the single-member success is
signature-based, not an absent check.

## Reproduction steps

1. Open a threshold-2 multisig account (members k1, k2).
2. Craft a `lease_accept` block for a lease offered to that account, signed by
   k1 only.
3. Submit via `AddBlock` / API / gossip. Observed: accepted.

## Recommended fix

Route all multisig-account operations through `VerifyMultisig` (threshold),
or document explicitly which operations are intentionally single-signature
and why.

## Severity

- CVSS 3.1: 6.5 — `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- CWE-862 (Missing Authorization)

## Caveats

- All four legs (accept, cancel, force-settle, settle) have now been
  executed end to end with one member's signature on a threshold-2 account.
  The force-settle and settle legs used `AddSyncedBlock` (skipSkew) solely
  to satisfy their attestation time windows inside a test; the credential
  check under test runs first on both the normal and sync paths,
  identically.
- No public prior report of this threshold-routing mechanism was found
  (dedup queries recorded in the audit's DEDUP-BASELINE.md).
- This reproduction runs against the repository code at the stated HEAD. No
  testnet transactions were sent as part of this report.

Payout address (XE): eff2c51dd8457df740b919226cd9b37a2944e5abea7501094db80234f87f010e

Best,
Chaplin

[harness-slice1-main.go.txt](https://github.com/user-attachments/files/34109858/harness-slice1-main.go.txt)
[harness-f01-legs-main.go.txt](https://github.com/user-attachments/files/34109857/harness-f01-legs-main.go.txt)

### Thread

**Joseph Denne**team2026-11-05 22:06 UTCgithub

Thanks. This is the same finding as https://bounty.xe.network/XE-0068, 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.
