{"id":"CVE-2026-42613","published":"2026-05-11T15:24:19Z","modified":"2026-05-12T13:48:03Z","title":"Grav: Privilege Escalation via Missing Server-Side Validation of groups/access","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01135,"percentile":0.67279,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-pxm6-mhxr-q4mj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav-plugin-login/commit/3d419a0dabd70aed1fd49afcd5919004a4141da1","tags":["x_refsource_MISC"]},{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw","tags":["exploit"]}],"priority":{"score":25.0,"factors":[{"name":"EPSS percentile","points":13.46},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.0-beta.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-12T13:47:25.652919Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.0-beta.2"],"patched":["2.0.0-beta.2"],"from":["GHSA-pxm6-mhxr-q4mj"],"provenance":"source"}],"summary":{"text":"The Login plugin's Login::register() method in Grav, a file-based web platform, fails to validate the groups and access fields in registration POST data on the server side. An unauthenticated remote attacker can exploit this when user registration is enabled and those fields are listed as allowed, by injecting them into the registration request to self-register with admin.super privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:38Z"},"euvd":{"id":"EUVD-2026-29071","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw"],"lineage":{"familyId":"fam-getgrav-grav-cve-2026-42607","parents":[{"from":"CVE-2026-42607","to":"CVE-2026-42613","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-w48r-jppp-rcfw","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-pxm6-mhxr-q4mj","via":"reference","url":"https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw"}]}],"children":[{"from":"CVE-2026-42613","to":"CVE-2026-62669","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["login.php"],"commits":["https://github.com/getgrav/grav-plugin-login/commit/3d419a0dabd70aed1fd49afcd5919004a4141da1","https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630"],"basis":"rarely changed file"}]},{"from":"CVE-2026-42613","to":"CVE-2026-62671","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["login.php"],"commits":["https://github.com/getgrav/grav-plugin-login/commit/3d419a0dabd70aed1fd49afcd5919004a4141da1","https://github.com/getgrav/grav-plugin-login/commit/5d1b722298cb947d8f434025d121b99152a2c630"],"basis":"rarely changed file"}]}]}}