CVE-2026-42613 Details
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.
A vulnerability in the Grav Login plugin, affecting versions prior to 2.0.0-beta.2, allows for unauthorized privilege escalation. The issue arises because the Login::register() method accepts user-supplied groups and access fields from the registration POST data without proper server-side validation. When registration is enabled and these fields are included in the allowed fields list, an attacker can self-register with admin.super privileges by injecting the fields into the registration request. This vulnerability is rooted in the absence of adequate validation, leaving only a configuration-based allowlist as a defense, which is not a reliable security measure.
Users can update to Grav Login Plugin version 2.0.0-beta.2 or later, where this vulnerability has been fixed. Instructions for updating the plugin can be found in the Grav documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 11, 2026CISA-ADP
Assessed May 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw | CISA-ADP | |
| https://github.com/getgrav/grav-plugin-login/commit/3d419a0dabd70aed1fd49afcd5919004a4141da1 | [email protected] | Source CodeVendor |
| https://github.com/getgrav/grav/security/advisories/GHSA-pxm6-mhxr-q4mj | [email protected] | AdvisoryExploitRemedyTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | < 2.0.0-beta.2 (semver) |
CPE
Remediation
| |
| Grav Login | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | New CVE Received | [email protected] |
Volerion