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-42613: CWE-20: Improper Input Validation in getgrav grav

0
Critical
VulnerabilityCVE-2026-42613cvecve-2026-42613cwe-20cwe-862
Published: Mon May 11 2026 (05/11/2026, 15:24:19 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: 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

AILast updated: 05/11/2026, 15:52:28 UTC

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.

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-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 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