Any user can grant themselves admin on Provenance markers without holding tokens
A state divergence bug let any user obtain admin control over marker accounts on the Provenance blockchain without holding any tokens.
Security & privacy Trail of Bits 25 Aug 2026 Disclosure Real-world evidence
Published as “State divergence enables unauthorized access”
Why it matters
State desynchronization between module state and the bank module can create critical authorization bypasses in blockchain systems.
Summary
The researchers discovered a bug in Provenance's marker module where the access-control check read a stale supply field, making the condition "caller controls 100% of supply" always true for markers with stored supply zero. This allowed an attacker to submit a single AddAccess request and then mint new tokens or withdraw escrowed assets in a second transaction. They identified 82 live markers on mainnet affected, with escrowed assets worth roughly $500,000 at the time. The issue was mitigated in v1.28.0 and fully fixed in v1.29.0 by using the live bank supply and adding a zero-supply guard.
What they found 1
- Any user can gain ACCESS_ADMIN on non-fixed supply markers with stored supply zero
“The check intended to restrict access to 100%-of-supply holders becomes unconditionally true for any caller with zero balance.”
Caveats 3
- A freshly deployed marker with no tokens minted yet also has live supply of zero, so an attacker could self-grant admin by targeting it before it’s funded.
- The fix does not prevent self-granting admin on newly created markers that have zero live supply before any tokens are minted.
- The bug only affects non-fixed supply markers where the stored supply field remains zero.
What’s new here 4
- Identified a state desynchronization bug in the marker module that bypasses admin checks.
- Showed that 82 active markers with zero stored supply were exploitable on mainnet.
- Demonstrated a two-transaction exploit to mint tokens or withdraw escrowed assets.
- Provided a full fix that reads live supply and rejects zero-supply cases.