Intel

AIKIDO-2026-342385

getgrav/grav is vulnerable to Exposed Dangerous Method or Function

CVE-2026-116019Published Oct 31, 2026
October 31, 2026

88

CVE Score

High

Exposed Dangerous Method or Function

Are you affected? Scan for Free

TL;DR

Blueprint::extend() merged untrusted page-authored frontmatter into a file-defined Flex form blueprint, letting crafted unset-name@ keys or integer field keys move or renumber a data-*@ directive to a path treated as trusted. On normal Flex page-form paths, a page editor could thereby bypass the Class::method allowlist in Blueprint::dynamicData() and invoke arbitrary public static methods such as Folder::delete or Utils::download, causing directory deletion, file overwrite, or file reads outside the page tree. The fix strips unset-name@ (as well as the previously handled rename spelling) and marks new or changed directives after merging as untrusted.

How do I fix this?

Upgrade the getgrav/grav package to version 2.2.13 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and grant page-edit permission to accounts that author page frontmatter forms.

Versions

2.0.15 - 2.2.12

Fixed in 2.2.13

Background info

getgrav/grav is vulnerable to Exposed Dangerous Method or Function in versions 2.0.15 - 2.2.12.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea