Allowlist bypass in Grav Flex Form lets editors call static methods
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Grav from 2.0.15 before 2.2.2 contains an allowlist bypass that lets page editors 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. The flaw is classified as CWE-749.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade getgrav grav to version 2.2.2, which fixes the issue. The sources list no fixed version for other Grav releases.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA grav (getgrav) Fixed in 2.2.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
getgrav grav 2.2.2
3 records Highest priority Priority MEDIUM 3 MEDIUM
Other records, highest priority first
- TI-2026-76621 Image pixel limit bypass in Grav allows denial of servicePriority MEDIUM 45
- TI-2026-76620 Information disclosure in Grav exposes config secrets via form directivesPriority MEDIUM 45
Timeline
- 2026-10-20 Threatist record created from CVE-2026-112780
- 2026-10-20 Alias added: GHSA-qq7h-r236-6vc5
- 2026-10-23 CISA SSVC decision points changed
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
More getgrav vulnerabilities
- TI-2026-30893 Grav: Privilege Escalation via Missing Server-Side Validation of groups/access CVSS 3.1CRITICAL 9.4
- TI-2025-28971 Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
- TI-2021-04523 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution CVSS 3.1CRITICAL 9.8
- TI-2026-50940 Grav CMS before 2.0.16 Origin Validation Bypass via Referer CVSS 4.0CRITICAL 9.3
- TI-2026-46446 Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData CVSS 4.0CRITICAL 9.3
- TI-2021-22428 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2) CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-112780 · CVE Program
- CVE-2026-112780 · NVD
- FIRST EPSS
- GHSA-qq7h-r236-6vc5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences