CVE-2026-112780getgrav grav
Allowlist bypass in Grav allowing arbitrary static method calls
Critical 9.3 No auth needed
Follow: this CVE · getgrav · getgrav grav We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Oct 19, 2026
- Updated
- Oct 22, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-749
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Grav versions 2.0.15 through 2.2.1 contains an allowlist bypass vulnerability in Flex forms that allows page editors to invoke arbitrary public static methods. An attacker with page-edit permissions can delete directories, overwrite files, or read files by manipulating form fields.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 2.2.2
Update Grav to version 2.2.2 or later to apply the security patch.
- Apply the vendor's security update for grav.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- getgrav · grav
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.