{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.0.8"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ed16f0aaa9b398c6f179fb8f51e0fa53e4ed8a30"
            },
            {
              "fixed": "af58f7908d2b6d5449cde2d7a25529805cab5882"
            }
          ],
          "repo": "https://github.com/getgrav/grav-plugin-api",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7v74-m76q-8wf3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64852.json"
  },
  "details": "Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.8, the Grav API plugin intercepts the apiKeyGenerate and apiKeyRevoke admin tasks in user/plugins/api/api.php and authorizes the caller with only admin.login. A basic panel user can select another account from the route, create a persistent ApiKeyManager credential bound to that target, and inherit the target's API permissions, including api.super or administrative write access when present. This issue is fixed in version 1.0.8.",
  "id": "CVE-2026-64852",
  "modified": "2026-08-21T03:30:25.292313643Z",
  "published": "2026-08-19T16:00:06.335Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/getgrav/grav-plugin-api/releases/tag/1.0.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64852.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/getgrav/grav/security/advisories/GHSA-7v74-m76q-8wf3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64852"
    },
    {
      "type": "FIX",
      "url": "https://github.com/getgrav/grav-plugin-api/commit/ed16f0aaa9b398c6f179fb8f51e0fa53e4ed8a30"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Grav API Plugin: Missing authorization on API-key generate/revoke lets any admin.login user forge keys for any account"
}