Loading0%
SUBZER0
LIVE
Alerts

CVE-2026-82406

Klever-Go: Zombie-order theft: `Buy` missing `IsClaimed` guard in native marketplace

Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-10-23; check the references for anything newer.

  • Severity: High
  • CVSS 7.1
  • EPSS 0.34%
  • Public exploit
  • P2 · This week

Why P2: this week.

Description

**Location:** `core/kapp/market/market.go` — `Buy()` (approx. L281–436)\ **Severity:** High The native marketplace enforces an `IsClaimed` guard in `Claim` (`market.go:752`), `CancelOrder` (`market.go:1125`), and `orderEscrowAmount` (`market.go:251`), but **not in `Buy`**. Marketplace escrow is *virtual*: the market KApp account never custodies currency. A bid burns funds from the bidder (`bidderAcc.SubFromBalance`, ~L378), and refunds/payouts mint to the recipient (`AddToBalance`, e.g. the prior-bidder refund at ~L349). Soundness depends on each order's `CurrentBid` being paid out exactly once. A seller can settle a resting-bid auction **early** via the seller-accept branch of `Claim` (~L776) → `executeBuyMarket` (~L656). That path sets `IsClaimed=true`, delivers the NFT, pays the seller, and re-saves the order (`SetMarketOrder`, ~L726) — but, unlike every other settle path, it does **not** reset `EndTime` (contrast immediate-buy `Buy` ~L416 and `CancelOrder` ~L1206), and no code path deletes the order. The result is a "zombie" order: already settled, yet still loadable with `EndTime` in the future and a stale `CurrentBidder`. Because `Buy` has no `IsClaimed` guard, a new bidder can still `Buy` on that settled order (the bid guard at ~L317 only forces the new amount `Y > CurrentBid X`). The new bidder is debited `Y`; the prior bidder is refunded `X` (funded by the new bidder, not minted); the new bidder becomes `CurrentBidder` on an `IsClaimed` order and can then neithe…

Affected products

  • go github.com/klever-io/klever-go <= 1.7.19; first patched: 1.7.20

References

Browse more

Go modulesWeek 39, 2026 recap

Published 2026-09-23 · sources: GitHub Advisory Database