P2 · HighCVSS 8.8EPSS 0.7%
Grav 2.0.0 before 2.2.18 Object Deletion via Flex Sort Field
- CVE-2026-130742
- GHSA-q88m-rfpx-2w96
- EUVD-2026-128814
Description
Grav 2.0.0 before 2.2.18 resolves Flex sort and filter field names by first calling them as public methods, so a field named delete invokes FlexObject::delete() without any permission check. Authenticated users with only list access can send GET /api/v1/flex-objects/user-accounts?sort=delete requests to delete every account, then use the reopened API first-run setup to create a super admin.
Text from the CVE.org record.
Recommendation
getgrav grav
- If you run a version from 2.0.0 to before 2.2.18update to 2.2.18 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
getgrav grav
Affected versions Fixed in from 2.0.0 to before 2.2.18 2.2.18
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.