{
  "schema_version": "1.4.0",
  "id": "GHSA-cg8r-jwg7-r2x4",
  "modified": "2025-03-21T21:11:31Z",
  "published": "2025-03-18T15:30:47Z",
  "aliases": [
    "CVE-2025-25500"
  ],
  "summary": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "cosmwasm"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-25500"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/H3T76/8096a6ff9410f3a6d9a25db1a68ae657#file-cve-2025-25500"
    },
    {
      "type": "WEB",
      "url": "https://github.com/CVEProject/cveproject.github.io/blob/gh-pages/requester/reservation-guidelines.md"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/CosmWasm/cosmwasm"
    },
    {
      "type": "WEB",
      "url": "https://github.com/CosmWasm/cosmwasm/blob/v2.2.0/CHANGELOG.md"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-284",
      "CWE-306"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-18T22:17:53Z",
    "nvd_published_at": "2025-03-18T14:15:43Z"
  }
}