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…
EPSS 0.9%top 43%

CVE-2026-42613: CWE-20: Improper Input Validation in getgrav grav

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected software

GitHub Actionsmore threats →ai
getgrav/grav
pkg:github/getgrav/grav
Affected versions
=2.0.0-beta.2

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

AILast updated: 05/19/2026, 10:59:57 UTC

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.

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