{
  "id": "CVE-2026-65007",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-65007",
  "published_at": "2026-07-21T11:39:56.387Z",
  "title": "Grav before 1.0.8 Missing Authorization on API Key Generation",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 9.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
  },
  "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 Grav api plugin (grav-plugin-api) before 1.0.8 fails to properly authorize API key generation and revocation: the plugin intercepts the apiKeyGenerate/apiKeyRevoke admin tasks before the account-management ACL runs and authorizes the caller on only the admin.login permission (the baseline permission held by every panel user). This allows any user with admin.login to mint a persistent API key bound to any account, and the forged key inherits the target account's API permissions. On installs where an API-enabled account holds broader permissions, this enables account impersonation and privilege escalation up to account takeover.",
  "cwe": "CWE-862",
  "cvss_by_source": {
    "cna": 9.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 1.0.8"
        ],
        "fixed_in": [
          "1.0.8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 1.0.8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-7v74-m76q-8wf3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
