{
  "id": "CVE-2026-72826",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-72826",
  "published_at": "2026-08-14T11:35:34.46Z",
  "title": "Grav API Plugin before 1.0.13 Scope Bypass via createApiKey",
  "vendor": "getgrav",
  "product": "grav-plugin-api",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The getgrav/grav-plugin-api plugin before 1.0.13 fails to validate that the scopes of a newly created API key are a subset of the caller's scopes in createApiKey. The self-target path of requireApiKeyPermission() requires only the baseline api.access scope, and the new key's scopes are read directly from the request body with no subset check. An attacker holding a minimal-scope API key on a super account can submit an empty scopes array to mint an unscoped, full-access super key, bypassing scope restrictions (and enabling further chains such as configuration write to RCE).",
  "cwe": "CWE-266",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav-plugin-api",
        "ranges": [
          "\u003c 1.0.13"
        ],
        "fixed_in": [
          "1.0.13"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav-plugin-api to 1.0.13 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-95v9-4fcj-96gh"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
