{
  "id": "CVE-2026-72825",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-72825",
  "published_at": "2026-08-14T11:35:33.8Z",
  "title": "Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController",
  "vendor": "getgrav",
  "product": "grav-plugin-api",
  "cvss": {
    "score": 7.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L"
  },
  "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 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink.",
  "cwe": "CWE-862",
  "cvss_by_source": {
    "cna": 7.6
  },
  "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-v5ph-7v92-wqm6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
