CVE-2026-42613: CWE-20: Improper Input Validation in getgrav grav
Grav is a file-based Web platform. Prior to 2.0.0-beta.2, the Login::register() method in the Login plugin accepts attacker-controlled groups and access fields from the registration POST data without server-side validation. When registration is enabled and groups or access are included in the configured allowed fields list, an unauthenticated user can self-register with admin.super privileges by injecting these fields into the registration request. This vulnerability is fixed in 2.0.0-beta.2.
AI Analysis
Technical Summary
CVE-2026-42613 is an improper input validation vulnerability (CWE-20) in the Grav CMS Login plugin's register method. Before version 2.0.0-beta.2, the plugin accepts attacker-controlled 'groups' and 'access' fields from registration POST data without server-side validation. When registration is enabled and these fields are in the allowed list, an unauthenticated user can exploit this to gain admin.super privileges by injecting these fields during self-registration. This privilege escalation flaw allows unauthorized administrative access. The vulnerability is resolved in Grav 2.0.0-beta.2.
Potential Impact
Successful exploitation allows an unauthenticated attacker to self-register with administrative superuser privileges, leading to full compromise of the Grav CMS instance. Confidentiality, integrity, and availability of the affected system are severely impacted. The CVSS 3.1 score is 9.4 (critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality and integrity with low impact on availability.
Mitigation Recommendations
Upgrade to Grav version 2.0.0-beta.2 or later, where this vulnerability is fixed. Until the upgrade is applied, disable user registration or ensure that 'groups' and 'access' fields are not included in the allowed registration fields list to prevent exploitation. Patch status is confirmed fixed in 2.0.0-beta.2.
CVE-2026-42613: CWE-20: Improper Input Validation in getgrav grav
Description
Grav is a file-based Web platform. Prior to 2.0.0-beta.2, the Login::register() method in the Login plugin accepts attacker-controlled groups and access fields from the registration POST data without server-side validation. When registration is enabled and groups or access are included in the configured allowed fields list, an unauthenticated user can self-register with admin.super privileges by injecting these fields into the registration request. This vulnerability is fixed in 2.0.0-beta.2.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42613 is an improper input validation vulnerability (CWE-20) in the Grav CMS Login plugin's register method. Before version 2.0.0-beta.2, the plugin accepts attacker-controlled 'groups' and 'access' fields from registration POST data without server-side validation. When registration is enabled and these fields are in the allowed list, an unauthenticated user can exploit this to gain admin.super privileges by injecting these fields during self-registration. This privilege escalation flaw allows unauthorized administrative access. The vulnerability is resolved in Grav 2.0.0-beta.2.
Potential Impact
Successful exploitation allows an unauthenticated attacker to self-register with administrative superuser privileges, leading to full compromise of the Grav CMS instance. Confidentiality, integrity, and availability of the affected system are severely impacted. The CVSS 3.1 score is 9.4 (critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality and integrity with low impact on availability.
Mitigation Recommendations
Upgrade to Grav version 2.0.0-beta.2 or later, where this vulnerability is fixed. Until the upgrade is applied, disable user registration or ensure that 'groups' and 'access' fields are not included in the allowed registration fields list to prevent exploitation. Patch status is confirmed fixed in 2.0.0-beta.2.
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: 5/11/2026, 3:36:50 PM
Last enriched: 5/11/2026, 3:52:28 PM
Last updated: 5/12/2026, 3:48:57 AM
Views: 20
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.