{"id":"CVE-2025-66296","published":"2025-12-01T21:03:07Z","modified":"2025-12-02T14:06:13Z","title":"Grav vulnerable to Privilege Escalation in Grav Admin: Missing Username Uniqueness Check Allows Admin Account Takeover","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a privilege escalation vulnerability exists in Grav’s Admin plugin due to the absence of username uniqueness validation when creating users. A user with the create user permission can create a new account using the same username as an existing administrator account, set a new password/email, and then log in as that administrator. This effectively allows privilege escalation from limited user-manager permissions to full administrator access. This vulnerability is fixed in 1.8.0-beta.27.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00343,"percentile":0.28446,"provenance":"source"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-cjcp-qxvg-4rjm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741","tags":["x_refsource_MISC"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":5.69},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.8.0-beta.27"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-12-02T14:05:57.713950Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.8.0-beta.27"],"patched":["1.8.0-beta.27"],"from":["GHSA-cjcp-qxvg-4rjm"],"provenance":"source"}],"summary":{"text":"Grav, a file-based web platform, has a privilege escalation flaw in its Admin plugin: user creation does not check that a username is unique, so it can collide with an existing account. An attacker with only the create-user permission can register a new account under an administrator's username, set their own password and email, and log in as that administrator.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:56Z"},"euvd":{"id":"EUVD-2025-200079","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-getgrav-grav-cve-2025-66295","children":[{"from":"CVE-2025-66296","to":"CVE-2026-42608","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["system/src/Grav/Common/Flex/Types/Users/UserObject.php"],"commits":["https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741","https://github.com/getgrav/grav/commit/c66dfeb5ff679a1667678c6335eb9ff3255dfc47","https://github.com/getgrav/grav/commit/d904efc33e03ebb597afde8d3368b28cf0423632"],"basis":"shared function","functions":["save"]}]}]}}