CVE-2026-42844

Grav: Low-privileged API users can create super-admin accounts via blueprint-upload

State
Published
Severity
8.7 High
Published
May 12, 2026
Updated
May 13, 2026
Reserved
Apr 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-269 Improper Privilege Management

Affected Products

ProductVersions
gravgetgrav
  • 2.0.0-beta.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.