MEDIUM6.5
GHSA-cg8r-jwg7-r2x4
CosmWasm Allows Bypass of Capability Restrictions in Blockchains
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/cosmwasm
Introduced in:
0Fixed in: 2.2.0Upgrade cosmwasm to 2.2.0 or newer (ecosystem crates.io).
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-25500[ADVISORY]
- https://gist.github.com/H3T76/8096a6ff9410f3a6d9a25db1a68ae657#file-cve-2025-25500[WEB]
- https://github.com/CVEProject/cveproject.github.io/blob/gh-pages/requester/reservation-guidelines.md[WEB]
- https://github.com/CosmWasm/cosmwasm[PACKAGE]
- https://github.com/CosmWasm/cosmwasm/blob/v2.2.0/CHANGELOG.md[WEB]