Read the docs

Unauthorized page deletion in Grav via Flex form directives

Priority LOW 30CWE-470Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · High · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Grav from 2.0.0 before 2.2.5 contains an improper access control flaw in FlexDirectory::dynamicFlexField() that lets page authors call arbitrary Flex object methods through flex-*@ directives in page frontmatter. When a user with page edit rights opens the page, the directives run in that user's session and can delete protected pages that neither account is allowed to delete.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00211 11th percentileScored 2026-11-07
Fix Fixed grav (getgrav): 2.2.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getgravgrav2.0.0 to before 2.2.52.2.5Patch availableCNA
  • grav Vendorgetgrav Affected 2.0.0 to before 2.2.5 Fixed in 2.2.5 Patch available CNA

Remediation

Upgrade getgrav grav to version 2.2.5, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-05

  • Fix · CNA grav (getgrav) Fixed in 2.2.5

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    getgrav grav 2.2.5

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-79156 Grav discloses HTTP Basic credentials through Twig Uri outputPriority LOW 30

Timeline

  1. 2026-10-22 Threatist record created from CVE-2026-114660
  2. 2026-10-22 Alias added: GHSA-78r2-qf6v-6gr4
  3. 2026-10-23 Priority changed: MEDIUM → LOW
  4. 2026-11-05 CISA SSVC decision points changed

References

  • 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
See all 228 →

Sources