CVE-2026-130742
Grav 2.0.0 before 2.2.18 Object Deletion via Flex Sort Field
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.71% (p55)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-19
- Product
- getgrav grav
- Aliases
- GHSA-679v-ch4q-94qm
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
2.2.18
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | grav | >=2.0.0, <2.2.18 | 2.2.18 |
Sources
- NVD · first seen 18d ago · NVD terms of use
- OSV · first seen 18d ago · CC-BY 4.0
- CVE List · first seen 18d ago · CVE Terms of Use