Skip to main content
← All vulnerabilities
CVE-2026-42844GHSA-6XX2-M8WV-756H

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0-beta.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • getgrav grav

    2.0.0-beta.2

  • getgrav/gravPackagist

    fixed in 2.0.0-beta.4

References 1

GitHub · getgrav/grav