<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/state-divergence-enables-unauthorized-access-tzwuincsr" -->

---
title: State divergence enables unauthorized access | daily.dev
description: A critical authorization bug in Provenance Blockchain, a Cosmos SDK-based proof-of-stake chain, allowed any user to grant themselves admin control over marker...
canonical: https://daily.dev/posts/state-divergence-enables-unauthorized-access-tzwuincsr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: State divergence enables unauthorized access | daily.dev
og:description: A critical authorization bug in Provenance Blockchain, a Cosmos SDK-based proof-of-stake chain, allowed any user to grant themselves admin control over marker...
og:url: https://daily.dev/posts/state-divergence-enables-unauthorized-access-tzwuincsr
og:image: https://api.daily.dev/og/posts/TZWUInCSR.png
og:image:alt: State divergence enables unauthorized access
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# State divergence enables unauthorized access

**[Trail of Bits Blog](https://daily.dev/sources/trail-of-bits)** · 6 min read · 0 upvotes · 0 comments

## Summary

A critical authorization bug in Provenance Blockchain, a Cosmos SDK-based proof-of-stake chain, allowed any user to grant themselves admin control over marker accounts (the chain's fungible token primitive) without holding any tokens. The flaw stemmed from an access check that compared a stale, always-zero supply field against the caller's balance, making the '100% of supply' condition trivially true for zero-balance attackers on non-fixed supply markers. Eighty-two live markers on mainnet were exploitable, including validator incentive funds and grant program accounts holding roughly $500,000 in escrowed nhash, plus dozens of bridged stablecoins and tokenized asset markers vulnerable to arbitrary minting. The bug was reported in April 2026 and fixed in version 1.28.0, released May 1, 2026, by switching the check to live bank-module supply and adding a zero-guard so unfunded markers can't be self-admined either.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.trailofbits.com/2026/08/25/state-divergence-enables-unauthorized-access>

## Questions this post answers

### What was the vulnerability in Provenance Blockchain's marker module that let attackers self-grant admin access?

An authorization check called accountControlsAllSupply verified that a caller controlled 100% of a marker's supply by reading a stale supply field on the marker struct instead of the live bank module balance. For non-fixed supply markers activated with zero supply, that field never updated, so the comparison against a zero-balance attacker was always true, letting anyone gain ACCESS_ADMIN with no tokens held.

_Auditors tracking Cosmos SDK authorization pitfalls like this can follow security writeups on daily.dev._

### How many Provenance Blockchain markers were affected by the marker authorization bug and what was the financial exposure?

Eighty-two active markers on Provenance mainnet had a stored supply of zero while holding real circulating supply or escrowed assets, all exploitable. Markers holding nhash in escrow totaled roughly 30x10^15 nhash, about $500,000 at discovery-time HASH prices, with the largest being the Provenance Foundation grant program and validator incentive fund accounts.

_daily.dev helps teams assessing blockchain financial exposure follow disclosures like this one closely._

### How was the Provenance Blockchain marker access control bug fixed?

Provenance shipped a fix in pull request 2734, released in version 1.28.0 on May 1, 2026, that changed the authorization check to read live supply from the bank module instead of the stale marker struct field, and added a zero-guard so accountControlsAllSupply returns false whenever live supply is zero, preventing self-admin grants on freshly created, unfunded markers.

_Teams upgrading Cosmos SDK chains can track fixes like this one on daily.dev before shipping._

## Similar posts on daily.dev

- [DOT Hacked: The Hyperbridge Exploit](https://daily.dev/posts/dot-hacked-the-hyperbridge-exploit-vs7e4x6xj) · Coins Bench · 0 upvotes · 0 comments
- [Ghost Core v0.23.1.0 — Security Incident Report](https://daily.dev/posts/ghost-core-v0-23-1-0-security-incident-report-m4m2ojwti) · Medium · 1 upvotes · 0 comments
- [The Resolv Hack: How One Compromised Key Printed $23 Million](https://daily.dev/posts/the-resolv-hack-how-one-compromised-key-printed-23-million-d77t8djef) · Hacker News · 0 upvotes · 0 comments
- [Unbounded State Bloat: How I Found a Chain-Halting DoS Bug in Injective’s Peggy Bridge](https://daily.dev/posts/unbounded-state-bloat-how-i-found-a-chain-halting-dos-bug-in-injective-s-peggy-bridge-gn7zq75rn) · Coins Bench · 0 upvotes · 0 comments
- [The $9M yETH Exploit: How 16 Wei Became Infinite Tokens](https://daily.dev/posts/the-9m-yeth-exploit-how-16-wei-became-infinite-tokens-onm4biw7x) · Check Point Research · 3 upvotes · 0 comments

---

[View this post on daily.dev](https://daily.dev/posts/state-divergence-enables-unauthorized-access-tzwuincsr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"State divergence enables unauthorized access","url":"https://daily.dev/posts/state-divergence-enables-unauthorized-access-tzwuincsr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/state-divergence-enables-unauthorized-access-tzwuincsr"},"datePublished":"2026-08-25T11:13:03.489Z","dateModified":"2026-08-25T11:13:30.400Z","description":"A critical authorization bug in Provenance Blockchain, a Cosmos SDK-based proof-of-stake chain, allowed any user to grant themselves admin control over marker...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ee772eb93665c87a65dad236a4ae604c?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ee772eb93665c87a65dad236a4ae604c?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Trail of Bits Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Trail of Bits Blog","logo":"https://media.daily.dev/image/upload/s--TLbYx4ip--/f_auto,q_auto/v1780213255/logos/trail-of-bits?_a=BAMAMiWQ0","url":"https://daily.dev/sources/trail-of-bits"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/state-divergence-enables-unauthorized-access-tzwuincsr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Trail of Bits Blog","item":"https://daily.dev/sources/trail-of-bits"},{"@type":"ListItem","position":3,"name":"State divergence enables unauthorized access"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/state-divergence-enables-unauthorized-access-tzwuincsr#faq","mainEntity":[{"@type":"Question","name":"What was the vulnerability in Provenance Blockchain's marker module that let attackers self-grant admin access?","acceptedAnswer":{"@type":"Answer","text":"An authorization check called accountControlsAllSupply verified that a caller controlled 100% of a marker's supply by reading a stale supply field on the marker struct instead of the live bank module balance. For non-fixed supply markers activated with zero supply, that field never updated, so the comparison against a zero-balance attacker was always true, letting anyone gain ACCESS_ADMIN with no tokens held. Auditors tracking Cosmos SDK authorization pitfalls like this can follow security writeups on daily.dev."}},{"@type":"Question","name":"How many Provenance Blockchain markers were affected by the marker authorization bug and what was the financial exposure?","acceptedAnswer":{"@type":"Answer","text":"Eighty-two active markers on Provenance mainnet had a stored supply of zero while holding real circulating supply or escrowed assets, all exploitable. Markers holding nhash in escrow totaled roughly 30x10^15 nhash, about $500,000 at discovery-time HASH prices, with the largest being the Provenance Foundation grant program and validator incentive fund accounts. daily.dev helps teams assessing blockchain financial exposure follow disclosures like this one closely."}},{"@type":"Question","name":"How was the Provenance Blockchain marker access control bug fixed?","acceptedAnswer":{"@type":"Answer","text":"Provenance shipped a fix in pull request 2734, released in version 1.28.0 on May 1, 2026, that changed the authorization check to read live supply from the bank module instead of the stale marker struct field, and added a zero-guard so accountControlsAllSupply returns false whenever live supply is zero, preventing self-admin grants on freshly created, unfunded markers. Teams upgrading Cosmos SDK chains can track fixes like this one on daily.dev before shipping."}}]}
```

