{
  "id": "CVE-2026-42844",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42844",
  "published_at": "2026-05-12T21:43:18.259Z",
  "title": "Grav: Low-privileged API users can create super-admin accounts via blueprint-upload",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "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": "Grav is a file-based Web platform. In Grav 2.0.0-beta.2, a low-privileged authenticated API user with api.media.write can abuse /api/v1/blueprint-upload to write an arbitrary YAML file into user/accounts/, then log in as the newly created account with api.super privileges. This results in full administrative compromise of the Grav API. This vulnerability is fixed in API 1.0.0-beta.17.",
  "cwe": "CWE-434",
  "cpes": [
    "cpe:2.3:a:getgrav:grav:2.0.0:beta2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "2.0.0-beta.2"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "getgrav/grav",
        "ranges": [
          "\u003c 2.0.0-beta.4"
        ],
        "fixed_in": [
          "2.0.0-beta.4"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-6xx2-m8wv-756h"
      }
    ],
    "upgrade": [
      "Upgrade getgrav/grav to 2.0.0-beta.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
