CVE-2026-114660

Grav 2.0.0 before 2.2.5 Unauthorized Page Deletion via Flex Form Directives

State
Published
Severity
7.0 High
Published
Oct 22, 2026
Updated
Oct 22, 2026
Reserved
Oct 21, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:NVulnCheck
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:LVulnCheck

Weaknesses

  • CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Affected Products

ProductVersions
gravgetgrav
  • 2.0.0 to before 2.2.5Affected
  • 2.2.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.