CVE-2026-130742
Dashboard / Vulnerabilities / CVE-2026-130742
Summary: Grav 2.0.0 before 2.2.18 Object Deletion via Flex Sort Field
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130742.json, https://github.com/getgrav/grav/security/advisories/GHSA-679v-ch4q-94qm, https://nvd.nist.gov/vuln/detail/CVE-2026-130742
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
