{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.0.6"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f0145aa6597e1244bf7138db01ba7ef12437864c"
            }
          ],
          "repo": "https://github.com/getgrav/grav",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8gg4-rvvv-cq96"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639",
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62233.json"
  },
  "details": "grav-plugin-api before 1.0.6 fails to validate super-admin status in createApiKey, generate2fa, and disable2fa endpoints, allowing non-super api.users.write managers to escalate to super-admin. Attackers can mint API keys bound to super-admin accounts or strip 2FA from super-admin users to achieve full instance takeover.",
  "id": "CVE-2026-62233",
  "modified": "2026-07-19T03:30:48.263360841Z",
  "published": "2026-07-17T00:07:09.028Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62233.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/getgrav/grav/security/advisories/GHSA-8gg4-rvvv-cq96"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-62233"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/grav-plugin-api-privilege-escalation-via-createapikey"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/getgrav/grav"
    }
  ],
  "schema_version": "1.8.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-plugin-api \u003c 1.0.6 Privilege Escalation via createApiKey"
}