Skip to content
CVE Alert: CVE-2026-130742 – getgrav

CVE Alert: CVE-2026-130742 – getgrav

Redpacketsecurity •admin • November 19, 2026

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.

**Risk verdict:** Treat this as a high-priority exposure: a low-privilege account may enable destructive account changes and subsequent administrative takeover, but exploitation status is unknown.

**Why this matters:** An attacker could remove user accounts, disrupt service and exploit the resulting setup state to establish privileged access. That can lead to persistent control of the application and access to information or functions available to administrators. KEV, SSVC, PoC and EPSS data are not provided, so active exploitation and likelihood cannot be confirmed.

**Most likely attack path:** A remote attacker needs valid low-level credentials and network access to the API; the attack appears to require neither user interaction nor complex conditions. They can submit a crafted sort parameter against the account collection, trigger deletion, then attempt to create a super-administrator through the reopened setup flow. Scope is unchanged, so cross-boundary lateral movement is not indicated, though application takeover could enable further activity within the site.

**Who is most exposed:** Internet-reachable deployments with the relevant API enabled and accounts managed through Flex objects are most exposed, especially where ordinary users have list access.

Alert on API requests with `sort=delete` or unusual sort-field values.

Review bursts of account deletions, especially initiated by low-privilege users.

Detect first-run setup access and unexpected super-administrator creation.

Correlate these events by source IP and account.

Mitigation and prioritisation

Upgrade promptly to a vendor-fixed release; verify the deployed build is no longer affected.

Until upgraded, restrict API reachability and remove unnecessary list access.

Disable or tightly control first-run setup functionality; monitor for changes.

Test the upgrade and API behaviour in staging, then expedite change approval.

Reassess urgency when exploitation and EPSS data become available; apply priority 1 if KEV-listed or EPSS is at least 0.5.

A considerable amount of time and effort goes into maintaining this website, creating backend automation and creating new features and content for you to make actionable intelligence decisions. Everyone that supports the site helps enable new functionality.

If you like the site, please support us on Patreon or Buy Me A Coffee using the buttons below.