CVE-2025-25500: CosmWasm Allows Bypass of Capability Restrictions in Blockchains
An issue in CosmWasm prior to v2.2.0 allows attackers to bypass capability restrictions in blockchains by exploiting a lack of runtime capability validation. This allows attackers to deploy a contract without capability enforcement, and execute unauthorized actions on the blockchain.
Published Mar 18, 2025 · Updated Mar 21, 2025
Affected packages
cosmwasm
- Ecosystem
- Rust (crates.io)
- Affected
- < 2.2.0
- Fixed in
- 2.2.0
- Check
cargo tree -i cosmwasm
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An issue in CosmWasm prior to v2.2.0 allows attackers to bypass capability restrictions in blockchains by exploiting a lack of runtime capability validation. This allows attackers to deploy a contract without capability enforcement, and execute unauthorized actions on the blockchain.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-25500
- https://gist.github.com/H3T76/8096a6ff9410f3a6d9a25db1a68ae657#file-cve-2025-25500
- https://github.com/CVEProject/cveproject.github.io/blob/gh-pages/requester/reservation-guidelines.md
- https://github.com/CosmWasm/cosmwasm/blob/v2.2.0/CHANGELOG.md
- https://github.com/advisories/GHSA-cg8r-jwg7-r2x4
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
