<!-- XE-11927 · One gossiped BlockLease forces the provider into an all-peer attestation fan-out before cert/capacity checks · testnet -->
*Markdown view of <https://bounty.xe.network/XE-11927>. The page is the record; this is the same page for reading.*

XE-11927 · Bounty

# One gossiped BlockLease forces the provider into an all-peer attestation fan-out before cert/capacity checks

Closed · duplicate
—claimed High
web
filed 2026-11-13 11:17 UTC
by xe:75fb54b9

Verdict
:   Duplicate

Tier
:   —

Claimed
:   High

Area
:   Leasing / ledger

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-20 00:50 UTC

Told
:   2026-11-20 00:50 UTC

### Patches

None linked.

### History

- [558812](https://bounty.xe.network/log/558812) 2026-11-20 00:50 UTC proposal.adopted
- [558811](https://bounty.xe.network/log/558811) 2026-11-20 00:50 UTC reply.sent
- [558810](https://bounty.xe.network/log/558810) 2026-11-20 00:50 UTC ticket.status new → closed
- [557627](https://bounty.xe.network/log/557627) 2026-11-20 00:49 UTC proposal.adopted
- [557626](https://bounty.xe.network/log/557626) 2026-11-20 00:49 UTC ticket.facts area
- [557625](https://bounty.xe.network/log/557625) 2026-11-20 00:49 UTC proposal.adopted
- [557624](https://bounty.xe.network/log/557624) 2026-11-20 00:49 UTC ticket.facts
- [557623](https://bounty.xe.network/log/557623) 2026-11-20 00:49 UTC proposal.adopted
- [557622](https://bounty.xe.network/log/557622) 2026-11-20 00:49 UTC ticket.facts
- [555871](https://bounty.xe.network/log/555871) 2026-11-20 00:45 UTC note.added
- [555870](https://bounty.xe.network/log/555870) 2026-11-20 00:45 UTC proposal.created
- [555869](https://bounty.xe.network/log/555869) 2026-11-20 00:45 UTC proposal.created

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

### Report

## One gossiped BlockLease forces the targeted provider into an all-peer attestation fan-out — before any certificate or capacity check

### What

`AddBlock` success on a gossiped `BlockLease` with `Destination == self` triggers
`n.autoAcceptLease(b)` (`node/node.go:725`, **no finality needed**). Inside
`autoAcceptLease` (`:1460`), the order is:

```
beginAccept(leaseHash)              # only guard: per-lease mutex
VMManager.Get? acceptPolicy.Allow   # capacity check, NO certificate check
stake <= balance?                   # balance check only
n.acceptAttestations(leaseHash)     # :1490  <- THE FAN-OUT, runs BEFORE cert validation
n.acceptCertificateHash(...)        # :1503+  certificate checked AFTER the fan-out
(provisionVM later)
```

`acceptAttestations` -\> `gatherAttestations` (`node/attestation.go:116-175`):

- `peers := n.Host.Network().Peers()` — **every connected peer**,
- one **goroutine per peer**, each an `AttestationMsgType` request, 10s per-peer timeout
  (`AttestationTimeout`), whole-gather budget `AttestationGatherMax = 15s` (`:19`),
- on failure: `retry = true` -\> `acceptSched.record` -\> **re-gathered on backoff** (`:1466,1494`).

### The exploit

Attacker (any node with gossip reach) publishes one `BlockLease` aimed at a provider:

- attacker cost: \~zero, and the lease block is **refundable** (consumer stake returns on
  cancel/settle),
- provider cost: a full all-peer attestation fan-out (N concurrent requests, 15s window, retrying
  on failure) **before** the certificate is validated and **before** capacity/VM provisioning —
  repeated for every lease gossipped. Every peer that receives the fan-out does the same for the
  provider's other leases. Sustained provider CPU/network saturation \+ attestation load pushed
  onto every connected peer; pushes providers toward premature VM provisioning.

### Fix

Validate the lease's `certificate_hash` (and capacity) **before** the attestation fan-out; bound
the per-attacker fan-out rate (a per-peer/per-lease TTL on `acceptSched` retries).

### Thread

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