{"id":"CVE-2026-42613","summary":"Grav: Privilege Escalation via Missing Server-Side Validation of groups/access","details":"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.","aliases":["GHSA-pxm6-mhxr-q4mj"],"modified":"2026-07-08T08:13:43.492328475Z","published":"2026-05-11T15:24:19.238Z","related":["GHSA-pxm6-mhxr-q4mj","GHSA-w48r-jppp-rcfw"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42613.json","cwe_ids":["CWE-20","CWE-862"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42613.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-pxm6-mhxr-q4mj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42613"},{"type":"FIX","url":"https://github.com/getgrav/grav-plugin-login/commit/3d419a0dabd70aed1fd49afcd5919004a4141da1"},{"type":"EVIDENCE","url":"https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav-plugin-login","events":[{"introduced":"0"},{"fixed":"3d419a0dabd70aed1fd49afcd5919004a4141da1"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.0.0-beta.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["3.0.0-rc.4","3.0.0-rc.3","3.0.0-rc.2","3.0.0-rc.1","3.0.0-beta.1","2.2.0-rc.5","2.2.0-rc.3","2.2.0-rc.2","2.2.0-rc.1","2.1.0-rc.2","2.1.0-rc.1","2.0.0-rc.2","2.0.0-rc.1","2.0.0-beta.3","2.0.0-beta.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42613.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"}]}