# CVE-2026-42613: Grav: Privilege Escalation via Missing Server-Side Validation of groups/access

- Severity: Critical 9.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T21:26:06.000Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-pxm6-mhxr-q4mj
- Weaknesses: CWE-20, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- getgrav grav: < 2.0.0-beta.2
- getgrav/grav (Packagist): before 2.0.0-beta.2

## Every score

- GitHub_M: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw> (exploit, web)
- <https://github.com/getgrav/grav/security/advisories/GHSA-pxm6-mhxr-q4mj> (web)
- <https://github.com/getgrav/grav-plugin-login/commit/3d419a0dabd70aed1fd49afcd5919004a4141da1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42613> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2026-42613](https://www.cve.org/CVERecord?id=CVE-2026-42613), CVE Terms of Use, modified 2026-05-12
- GitHub Advisory Database: [GHSA-pxm6-mhxr-q4mj](https://github.com/advisories/GHSA-pxm6-mhxr-q4mj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42613](https://nvd.nist.gov/vuln/detail/CVE-2026-42613), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42613 · Whole record: https://cve.day/CVE-2026-42613.json · Rebuilt by cve.day 2026-11-25T22:59:21.200Z
