CVE-2026-130742 Details
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.
A vulnerability in Grav versions 2.0.0 prior to 2.2.18 allows authenticated users with only list access to delete user accounts, including super admin accounts, through the Flex API. The issue arises because Flex collection sorting and filtering is handled by first calling field names as public methods, which can inadvertently trigger the deletion of objects without proper permission checks. After deleting all user accounts, the same API can be used to create a new super admin account.
Users can upgrade to Grav version 2.2.18, where this vulnerability has been fixed. Instructions for updating Grav can be found in the official Grav documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2026CISA-ADP
Assessed Nov 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-679v-ch4q-94qm | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-470 | Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | >= 2.0.0, <= 2.2.17 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 19, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion