Vulnerability · Published May 12, 2026 · Assigned by GitHub_M
CVE-2026-42844Grav: Low-privileged API users can create super-admin accounts via blueprint-upload
High 8.7
In plain English
A high-severity unrestricted file upload in grav from getgrav. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getgrav/grav | 2.0.0-beta.4 | GHSA-6xx2-m8wv-756h |
Affected products (as reported)
Weakness: CWE-434, CWE-269 · Vector: 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
References
- https://github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h x_refsource_CONFIRM