CVE-2026-112780
CVE-2026-112780 · Grav 2.0.15 before 2.2.2 Arbitrary Static Method Call via Flex Form replace-name@
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Grav from 2.0.15 before 2.2.2 contains an allowlist bypass vulnerability that allows page editors to call arbitrary public static methods by renaming Flex form fields with replace-name@. Attackers with page-edit permission can smuggle data-*@ directives past the callable check to invoke Folder::delete, Folder::move, or Utils::download, deleting directories, overwriting files, or reading files.
CVSS 9.3 · Critical · EPSS 0.3% · Fix available
- Published
- Updated
Affected products and versions
grav
- Versions
- ≥ 2.0.15, < 2.2.2: Affected (semver)
- 2.2.2: Not affected (semver)
Update to 2.2.2