CVE-2026-116019

Grav 2.0.15 before 2.2.13 Allowlist Bypass via Flex Form Override Directives

Published Oct 24, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Grav 2.0.15 through 2.2.12 contains an allowlist bypass that lets page editors invoke arbitrary public static methods by manipulating Flex form override directives. The vulnerability permits actions such as deleting directories, overwriting files, and reading files outside the page tree, effectively allowing attackers with page‑edit permissions to execute arbitrary code on the server.

Affected Systems

The affected product is Grav by getgrav, specifically all releases from 2.0.15 up to and including 2.2.12. Users running any of these versions are at risk if they grant page‑edit rights to individuals or roles.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity impact. Although an EPSS score is not available, the vulnerability provides a clear path for exploitation: a user with page‑edit permission can embed crafted Flex form overrides in a page frontmatter, triggering calls to vulnerable static methods such as Folder::delete or Utils::download. This can lead to deletion or modification of critical files and potential data loss. The vulnerability is not currently listed in CISA’s KEV catalog, but the severity warrants immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grav to version 2.2.13 or later to apply the vendor fix.
  • If an upgrade is not feasible, restrict page‑edit permissions or disable Flex form overrides for sensitive pages to prevent crafted directives from being processed.
  • Reconfigure Grav to enforce strict validation of data-*@ keys in Flex form overrides, ensuring only whitelisted values are accepted.

Generated by OpenCVE AI on October 24, 2026 at 12:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Grav 2.0.15 before 2.2.13 Allowlist Bypass via Flex Form Override Directives
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-749
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-749

    Exposed Dangerous Method or Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 5:39 PM
Reserved
Oct 24, 2026, 11:23 AM
Status
Deferred
Published
Oct 24, 2026, 12:16 PM
Modified
Oct 26, 2026, 6:17 PM