Skip to main content

CVE-2026-114660: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in getgrav grav

0
High
VulnerabilityCVE-2026-114660cvecve-2026-114660
Published: 10/22/2026 (10/22/2026, 01:43:44 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

Grav versions from 2.0.0 up to but not including 2.2.5 contain an improper access control vulnerability in the FlexDirectory::dynamicFlexField() function. This flaw allows page authors to invoke arbitrary Flex object methods through flex-*@ directives in page frontmatter. When a user with page edit permissions opens such a page, certain directives like setStorageKey() and delete() execute in their session, potentially deleting protected pages that should not be deletable by either account.

CVSS v4.0

Score 7.0high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Affected software

getgrav

grav

Affected versions
>=2.0.0 <2.2.5
GitHub Actionsmore threats →ai
getgrav/grav
pkg:github/getgrav/grav
Affected versions
>=2.0.0 <2.2.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 02:15:27 UTC

Technical Analysis

CVE-2026-114660 is an improper access control vulnerability in Grav CMS affecting versions >=2.0.0 and <2.2.5. The vulnerability resides in the FlexDirectory::dynamicFlexField() method, which improperly allows page authors to call arbitrary Flex object methods via specially crafted flex-*@ directives in page frontmatter. This unsafe reflection enables execution of methods such as setStorageKey() and delete() when a user with page edit rights opens the page, leading to unauthorized deletion of protected pages.

Potential Impact

An attacker with page authoring privileges can craft page frontmatter directives that cause arbitrary Flex object methods to be executed in the context of users with page edit rights. This can result in deletion of protected pages that neither the attacker nor the victim user should be able to delete, leading to potential data loss and content disruption. The vulnerability requires user interaction (opening the page) and privileges to edit pages, limiting but not eliminating risk.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict page authoring permissions to trusted users only and avoid opening pages from untrusted authors. Monitor vendor communications for updates on patches or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-21T21:59:05.256Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad96eff4d27ba8daa1d22fb

Added to database: 10/22/2026, 02:03:43 UTC

Last enriched: 10/22/2026, 02:15:27 UTC

Last updated: 10/22/2026, 02:18:51 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses