Grav 2.0.0 before 2.2.18 Object Deletion via Flex Sort Field
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 17, 2026
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.
| Product | Versions |
|---|---|
| grav getgrav | 2.0.0 to before 2.2.18 Affected2.2.18 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
References
- GitHub Security Advisory (GHSA-679v-ch4q-94qm)Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.