Back to list

Low-privileged Grav API users can create super-admin accounts via blueprint-upload — CVE-2026-42844

GitHub · GitHub · CVE-2026-42844

ID
CVE-2026-42844
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.7
EPSS
0.00038

Summary

## Summary 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. ## Details The vulnerability is located in the API plugin's blueprint upload flow: -…

Product

composer: getgrav/grav

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories