CVE-2026-130742 Grav 2.0.0 before 2.2.18 Object Deletion via Flex Sort Field
HighCVSS 8.7
EPSS 0.29%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav | >= 2.0.0, < 2.2.18 | 2.2.18 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | >= 2.0.0, < 2.2.18 | 2.2.18 |
References
- GitHub Security Advisory (GHSA-679v-ch4q-94qm) vendor-advisory
- ENISA EUVD EUVD-2026-128814 third-party-advisory