Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getgrav/grav
  4. ›
  5. CVE-2026-42844

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

May 6, 2026

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.

References

  • github.com/advisories/GHSA-6xx2-m8wv-756h
  • github.com/getgrav/grav
  • github.com/getgrav/grav-plugin-api/commit/97fc02844a35f743dfe93d34efd92d47eedd5bc5
  • github.com/getgrav/grav/security/advisories/GHSA-6xx2-m8wv-756h
  • nvd.nist.gov/vuln/detail/CVE-2026-42844

Code Behaviors & Features

Detect and mitigate CVE-2026-42844 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.0-beta.4

Fixed versions

  • 2.0.0-beta.4

Solution

Upgrade to version 2.0.0-beta.4 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/getgrav/grav/CVE-2026-42844.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:18:35 +0000.