Grav: Privilege Escalation via Missing Server-Side Validation of groups/access
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-862.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| getgrav | grav | before 2.0.0-beta.2 | 2.0.0-beta.2 | Patch available | CNA |
| — | getgrav/grav (Packagist) | before 2.0.0-beta.2 | 2.0.0-beta.2 | Patch available | GHSA-pxm6-mhxr-q4mj |
- grav Vendorgetgrav Affected before 2.0.0-beta.2 Fixed in 2.0.0-beta.2 Patch available CNA
- getgrav/grav (Packagist) Vendor— Affected before 2.0.0-beta.2 Fixed in 2.0.0-beta.2 Patch available GHSA-pxm6-mhxr-q4mj
Remediation
- Fix · CNA grav (getgrav) Fixed in 2.0.0-beta.2
- Fix · GHSA-pxm6-mhxr-q4mj getgrav/grav (Packagist) Fixed in 2.0.0-beta.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42613
- 2026-10-03 Alias added: GHSA-pxm6-mhxr-q4mj
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
More getgrav vulnerabilities
- TI-2025-28971 Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
- TI-2021-04523 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution CVSS 3.1CRITICAL 9.8
- TI-2026-50940 Grav CMS before 2.0.16 Origin Validation Bypass via Referer CVSS 4.0CRITICAL 9.3
- TI-2026-46446 Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData CVSS 4.0CRITICAL 9.3
- TI-2021-22428 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2) CVSS 4.0CRITICAL 9.3
- TI-2025-41064 In grav <1.7.49.5, a SSRF (Server-Side Request Forgery) vector may be triggered via Twig… CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-42613 · CVE Program
- CVE-2026-42613 · NVD
- FIRST EPSS
- GHSA-pxm6-mhxr-q4mj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences