SCA: security update for getgrav/grav (GHSA-c4wf-2xxc-68qm)

high Tenable Cloud Security Plugin ID 448261

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Grav versions >= 1.7.0 and before 2.0.9 contain a remote code execution vulnerability.
FlexDirectory::dynamicDataField() resolves blueprint data-*@: directives by calling call_user_func_array()
on attacker-influenced input, validating only that the target is callable (is_callable()) without
restricting dangerous functions such as exec, system, passthru, or shell_exec. Because FlexDirectory
registers this handler for every Flex directory, it bypasses the validation added to
Blueprint::dynamicData() in 2.0.7 (GHSA-fj2p-qj2f-74v5). Any authenticated user with create or update
permission on any Flex-based directory (Flex Users, Flex Pages, Flex Objects, or custom Flex types) can
execute arbitrary shell commands on the server. (CVE-2026-65608)

Solution

Update the getgrav/grav library and its related packages to version 2.0.9 or later.

See Also

https://github.com/advisories/GHSA-c4wf-2xxc-68qm

Plugin Details

Severity: High

ID: 448261

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 9/23/2026

Updated: 9/23/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.14

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-65608

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.3

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/17/2026

Vulnerability Publication Date: 7/23/2026

Reference Information

CVE: CVE-2026-65608

cwe: CWE-470