Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. cosmwasm
  4. ›
  5. CVE-2025-25500

CVE-2025-25500: CosmWasm Allows Bypass of Capability Restrictions in Blockchains

March 18, 2025 (updated March 21, 2025)

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

  • gist.github.com/H3T76/8096a6ff9410f3a6d9a25db1a68ae657
  • github.com/CVEProject/cveproject.github.io/blob/gh-pages/requester/reservation-guidelines.md
  • github.com/CosmWasm/cosmwasm
  • github.com/CosmWasm/cosmwasm/blob/v2.2.0/CHANGELOG.md
  • github.com/advisories/GHSA-cg8r-jwg7-r2x4
  • nvd.nist.gov/vuln/detail/CVE-2025-25500

Code Behaviors & Features

Detect and mitigate CVE-2025-25500 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.0

Fixed versions

  • 2.2.0

Solution

Upgrade to version 2.2.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-306: Missing Authentication for Critical Function

Source file

cargo/cosmwasm/CVE-2025-25500.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.