CVE-2026-42613: Vulnerability in getgrav/grav
Critical. 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...
Packagist, CWE-20, CWE-862
- Exploitation
- None confirmed
- Severity
- 9.4 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-pxm6-mhxr-q4mj
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
- Weakness
- CWE-20, CWE-862
- Published
- 5 May 2026
- Last change
- 26 Oct 2026
- Ecosystem
- Packagist
Affected packages
Vulnerable version ranges and fixed releases
- getgrav/grav Packagist, Affected before 2.0.0-beta.2. Fixed in 2.0.0-beta.2
Advisories
Vendor and security advisories
- github.com/getgrav/grav/security/advisories/GHSA-pxm6-mhxr-q4mj
- github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw
Patches and fixes
Updates, commits and release notes