CVE-2026-42613: CWE-20: Improper Input Validation in getgrav grav
A critical vulnerability (CVE-2026-42613) exists in the Grav CMS prior to version 2.0.0-beta.2. The Login plugin's register() method improperly validates input fields from unauthenticated registration POST requests, allowing an attacker to self-register with admin.super privileges by injecting groups or access fields when registration is enabled and these fields are allowed. This vulnerability is fixed in version 2.0.0-beta.2.
AI Analysis
Technical Summary
Grav is a file-based web platform. Before version 2.0.0-beta.2, the Login plugin's register() method accepts attacker-controlled 'groups' and 'access' fields from registration POST data without proper server-side validation. If registration is enabled and these fields are included in the allowed fields list, an unauthenticated user can exploit this to self-register with elevated admin.super privileges. This is an improper input validation vulnerability classified under CWE-20 and CWE-862. The issue is resolved in Grav version 2.0.0-beta.2.
Potential Impact
An unauthenticated attacker can gain administrative privileges (admin.super) by exploiting this vulnerability, potentially leading to full control over the Grav installation. This includes confidentiality, integrity, and availability impacts as indicated by the CVSS vector (Confidentiality: High, Integrity: High, Availability: Low).
Mitigation Recommendations
Upgrade Grav to version 2.0.0-beta.2 or later, where this vulnerability is fixed. Since no official patch link or vendor advisory is provided, confirm the upgrade path with the official Grav project resources. Until upgraded, disable user registration or ensure that 'groups' and 'access' fields are not included in the allowed registration fields list to mitigate risk.
CVE-2026-42613: CWE-20: Improper Input Validation in getgrav grav
Description
A critical vulnerability (CVE-2026-42613) exists in the Grav CMS prior to version 2.0.0-beta.2. The Login plugin's register() method improperly validates input fields from unauthenticated registration POST requests, allowing an attacker to self-register with admin.super privileges by injecting groups or access fields when registration is enabled and these fields are allowed. This vulnerability is fixed in version 2.0.0-beta.2.
CVSS v3.1
Score 9.4critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Grav is a file-based web platform. Before version 2.0.0-beta.2, the Login plugin's register() method accepts attacker-controlled 'groups' and 'access' fields from registration POST data without proper server-side validation. If registration is enabled and these fields are included in the allowed fields list, an unauthenticated user can exploit this to self-register with elevated admin.super privileges. This is an improper input validation vulnerability classified under CWE-20 and CWE-862. The issue is resolved in Grav version 2.0.0-beta.2.
Potential Impact
An unauthenticated attacker can gain administrative privileges (admin.super) by exploiting this vulnerability, potentially leading to full control over the Grav installation. This includes confidentiality, integrity, and availability impacts as indicated by the CVSS vector (Confidentiality: High, Integrity: High, Availability: Low).
Mitigation Recommendations
Upgrade Grav to version 2.0.0-beta.2 or later, where this vulnerability is fixed. Since no official patch link or vendor advisory is provided, confirm the upgrade path with the official Grav project resources. Until upgraded, disable user registration or ensure that 'groups' and 'access' fields are not included in the allowed registration fields list to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-29T00:31:15.726Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a01f792cbff5d86102f20e4
Added to database: 05/11/2026, 15:36:50 UTC
Last enriched: 05/19/2026, 10:59:57 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 187
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.
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.