NetSight
high8.8

CVE-2026-42844

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

Impact

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 packages

EcosystemPackageAffectedFixed in
composergetgrav/grav< 2.0.0-beta.42.0.0-beta.4

Affected products

VendorProductAffected versions
GetgravGrav
Version 2.0.0

Weakness classification

References