> CVE-2026-65608 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-23 12:18
MODIFIED
2026-07-23 12:18
CVSS_SCORE V3
8.7
EPSS (Prob. Exploit)
1.12%
Top 34.2%
DATA SOURCES:
NVD 🔗 2026-07-23 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-29 OSV 🔗 2026-07-30

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-470

> CWE DETAILED DESCRIPTIONS

CWE-470: Use of Externally-Controlled Input to Select Classes or Code - The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.

> GITHUB SECURITY ADVISORY

GHSA-c4wf-2xxc-68qm HIGH

Grav: FlexDirectory::dynamicDataField() executes arbitrary callables from blueprint data with no validation

AFFECTED PACKAGES:
COMPOSER / getgrav/grav
>= 1.7.0, < 2.0.9
Fixed in: 2.0.9

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Grav before 2.0.9 Remote Code Execution via FlexDirectory

AFFECTED PACKAGES:
Unknown / Unknown
54 versions affected
ALIASES:
GHSA-c4wf-2xxc-68qm

> HISTORIQUE DES MODIFICATIONS

Première apparition
23/07/2026 12:18
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') - The product uses external input with reflection to select which classes or code to use, but it does not su...
Nouvelle valeur:
CWE-470: Use of Externally-Controlled Input to Select Classes or Code - The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the...
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') - The product uses external input with reflection to select which classes or code to use, but it does not su...
Total des modifications: 2 Dernière mise à jour: 4 days ago

> REFERENCES

https://github.com/getgrav/grav/commit/fae9e1bf2c40ce0b50d0dfce647aaa1d22f98969
https://github.com/getgrav/grav/security/advisories/GHSA-c4wf-2xxc-68qm
https://www.vulncheck.com/advisories/grav-before-remote-code-execution-via-flexd...
« BACK_TO_HOME