CVE-2026-114660 Details
Description
Grav from 2.0.0 before 2.2.5 contains an improper access control vulnerability in FlexDirectory::dynamicFlexField() that allows page authors to call arbitrary Flex object methods via flex-*@ directives in page frontmatter. When a user with page edit rights opens the page, directives calling setStorageKey() and delete() run in their session, deleting protected pages neither account may delete.
An improper access control vulnerability has been identified in Grav versions 2.0.0 prior to 2.2.5. The issue resides in the FlexDirectory::dynamicFlexField() method, where page authors can invoke arbitrary Flex object methods through flex-*@ directives in the page frontmatter. When a user with editing privileges accesses the page, the directives execute in their session, potentially calling methods like setStorageKey() and delete(). This exploitation can lead to the deletion of protected pages that neither the author nor the editor is permitted to remove.
Users can upgrade to Grav version 2.2.5, where this vulnerability has been fixed. In the patched version, flex-*@ directives in page frontmatter can only check the existence of the referenced object, without the ability to invoke methods. Instructions for updating Grav can be found in the official Grav documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-470 | Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | >= 2.0.0, < 2.2.5 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2026 | New CVE Received | [email protected] |
Volerion