← Back to search

CVE-2026-116019

8.8 HIGHpublic exploit available

Published 2026-10-24 · Updated 2026-10-26

AI risk analysis

Summary
Grav CMS versions before 2.2.13 allow authenticated page editors to bypass input allowlists by using data-*@ directives with unset-name@ or integer keys in Flex form overrides, enabling invocation of arbitrary public static methods such as Folder::delete or Utils::download, leading to directory deletion, file overwrite, or unauthorized file read outside the page tree.
Exploitability
Exploitation requires valid page-edit permissions and knowledge of Grav's internal method signatures; no authentication bypass is involved.
Blast radius
An attacker with page-edit rights can delete entire directories, overwrite critical files, or exfiltrate sensitive files outside the intended content scope, potentially compromising site integrity and confidentiality.
Detection
Monitor for unexpected file system changes (e.g., deletion of directories under /media, /user/pages) or anomalous HTTP requests containing data-*@ fields with integer or empty-string keys in Flex form submissions; also inspect server logs for calls to Folder::delete or Utils::download triggered by user-submitted frontmatter.
Prioritized remediation
Upgrade to Grav 2.2.13 or later, which patches the allowlist bypass by validating data-*@ directive keys against a strict allowlist of permitted method targets.
allowlist-bypassrcefile-writefile-readcmsauthz

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

Grav 2.0.15 before 2.2.13 contains an allowlist bypass vulnerability that allows page editors to invoke arbitrary public static methods by relocating data-*@ directives with unset-name@ or integer keys. Attackers with page-edit permission can embed crafted fields in Flex form overrides in page frontmatter to call methods like Folder::delete or Utils::download, deleting directories, overwriting files, or reading files outside the page tree.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-749

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.