---
id: CVE-2026-116019
title: Grav 2.0.15 before 2.2.13 Allowlist Bypass via Flex Form Override Directives
summary: >-
  Grav 2.0.15 before 2.2.13 contains an allowlist bypass vulnerability that
  allows page editors to invoke arbitrary public static methods by relocating
  data-*@ directives with unset-name@ or integer keys. Attackers with page-edit
  permissio…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-749
vendor: getgrav
product: grav
affected:
  - grav >= 2.0.15 < 2.2.13
published: '2026-10-24'
updated: '2026-10-24'
sourceUpdated: '2026-10-24T11:40:35.632Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-116019'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-47gg-mh38-9rr7'
    label: GitHub Security Advisory (GHSA-47gg-mh38-9rr7)
  - url: >-
      https://github.com/getgrav/grav/commit/4d9e3935f6b79cc1a157914554ccca6066a16f87
  - url: 'https://github.com/getgrav/grav/releases/tag/2.2.13'
    label: grav 2.2.13 Release Notes
  - url: >-
      https://github.com/getgrav/grav/blob/2.2.12/system/src/Grav/Common/Data/Blueprint.php
  - url: >-
      https://www.vulncheck.com/advisories/grav-2.0.15-before-2.2.13-allowlist-bypass-via-flex-form-override-directives
    label: >-
      VulnCheck Advisory: Grav 2.0.15 before 2.2.13 Allowlist Bypass via Flex
      Form Override Directives
tags:
  - cve.org
ingestedAt: '2026-10-24T11:57:47.027Z'
---

## Overview

Grav 2.0.15 before 2.2.13 contains an allowlist bypass vulnerability that allows page editors to invoke arbitrary public static methods by relocating data-*@ directives with unset-name@ or integer keys. Attackers with page-edit permission can embed crafted fields in Flex form overrides in page frontmatter to call methods like Folder::delete or Utils::download, deleting directories, overwriting files, or reading files outside the page tree.

## Affected

- `grav >= 2.0.15 < 2.2.13`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
