Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42844: CWE-434: Unrestricted Upload of File with Dangerous Type in getgrav grav

0
High
VulnerabilityCVE-2026-42844cvecve-2026-42844cwe-434cwe-269
Published: Tue May 12 2026 (05/12/2026, 21:43:18 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/12/2026, 22:07:21 UTC

Technical Analysis

In Grav 2.0.0-beta.2, an authenticated API user with limited privileges (api.media.write) can abuse the /api/v1/blueprint-upload endpoint to upload arbitrary YAML files into the user/accounts/ directory. This enables the creation of a new user account with api.super privileges, effectively granting full administrative access to the Grav API. This vulnerability is classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) and CWE-269 (Improper Privilege Management). The vulnerability has a CVSS 4.0 score of 8.7 (high severity). It is fixed in API 1.0.0-beta.17.

Potential Impact

Successful exploitation results in full administrative compromise of the Grav API, allowing an attacker to escalate privileges from a low-privileged API user to an admin-level user. This could lead to complete control over the affected Grav instance's API functionality.

Mitigation Recommendations

A fix is available in API version 1.0.0-beta.17. Users of Grav 2.0.0-beta.2 should upgrade to this or a later patched version to remediate the vulnerability. Since this is not a cloud service, remediation depends on applying the vendor's fixed API version. Patch status is confirmed by the vendor advisory stating the issue is fixed in API 1.0.0-beta.17.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-30T16:44:48.376Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a03a0decbff5d86101d5c7f

Added to database: 5/12/2026, 9:51:26 PM

Last enriched: 5/12/2026, 10:07:21 PM

Last updated: 5/13/2026, 4:49:17 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses