Arbitrary File Upload Affecting getgrav/grav package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GETGRAVGRAV-16624488
  • published10 May 2026
  • disclosed6 May 2026
  • credit0d000721999

Introduced: 6 May 2026

NewCVE-2026-42844  (opens in a new tab)
CWE-269  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

getgrav/grav is a Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS.

Affected versions of this package are vulnerable to Arbitrary File Upload via the blueprint-upload process. An attacker can gain full administrative access by uploading a crafted YAML file to the user/accounts/ directory, resulting in the creation of a new super-admin account. This is possible because the upload handler accepts user-controlled destination and scope parameters, allowing arbitrary files to be written to sensitive locations.

CVSS Base Scores

version 4.0
version 3.1