Critical Access Flaw in Grav by Get Grav Allows Unrestricted User Account Deletion
CVE-2026-130742
8.7HIGH
What is CVE-2026-130742?
The Grav content management system prior to version 2.2.18 contains a significant access control vulnerability that allows authenticated users with only list permissions to delete user accounts without proper authorization checks. This flaw arises when Flex sort and filter field names are executed as public methods, enabling a user to manipulate the system through crafted API requests. Specifically, by exploiting the GET /api/v1/flex-objects/user-accounts?sort=delete endpoint, an attacker can delete any user account, potentially leading to further escalation of privileges and unauthorized creation of super admin accounts using the system's first-run setup API.
Affected Version(s)
grav 2.0.0 < 2.2.18
grav 2.2.18
