Skip to content
OpenAdvisories
High · 8.7 CVE-2026-42844 EUVD-2026-29857GHSA-6xx2-m8wv-756h

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

Published May 12, 2026 · Updated May 13, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
getgrav grav 2.0.0-beta.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist getgrav/grav < 2.0.0-beta.4 2.0.0-beta.4 GHSA-6xx2-m8wv-756h

References