CVE-2026-42844: CWE-434: Unrestricted Upload of File with Dangerous Type in getgrav grav
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 Analysis
Technical Summary
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.
CVE-2026-42844: CWE-434: Unrestricted Upload of File with Dangerous Type in getgrav 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.