CVE-2026-114660
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.
How to fix
- getgrav grav2.2.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav | 2.0.0 ≤ v < 2.2.5 | 2.2.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.