llamaCVEVulnerability Intelligence
/
Grav

CVE-2026-130744

Grav remote code execution via Twig sandbox escape

Attackers with page editing rights can run shell commands as the web server user.

Specific setups onlyParche disponibleconfiguration tampering
Descargar PNG JSON
CVSS 4.0
8.7
Alta
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 Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión2.2.18
Exposición1 dDesde la divulgación, 18 nov 2026, 6:34 a. m.
Detección28 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: ENISA EUVD
Verificada
06:34 a. m.
07:01 a. m.
08:25 a. m.
09:22 a. m.
11:32 a. m.
08:52 a. m.
06:34 a. m.
01:08 p. m.
07:43 p. m.
02:18 a. m.
08:52 a. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-130744 divulgada · CVSS 8.7 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Grav from 2.0.0 before 2.2.18 contains a remote code execution vulnerability that allows page editors to escape the Twig sandbox by sending requests with a Host: pages header. Attackers can write configuration YAML through page folders and media .meta.yaml sidecars to register an unsandboxed Twig namespace and run shell commands as the web server user.

Grav 2.0.0 through 2.2.17 is exposed when the web server passes unrecognized Host headers to Grav, such as through a default or catch-all virtual host. Fixed in 2.2.18.

¿Qué significa?An unrecognized Host header passed through the web server can lead to code execution as the web server user. That exposes every secret on the server and allows forging a super-admin token.
¿Quién está afectado?Grav 2.0.0 through 2.2.17 is affected when the web server hands unrecognized Host headers to Grav, as default or catch-all virtual hosts do, and when the user/env/ folder does not exist, which is the shipped layout. To check, confirm the installed Grav version, whether a user/env/ folder exists, and whether the web server has a default or catch-all virtual host.
¿Qué hacer?Upgrade Grav to 2.2.18, the fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Grav 2.0.0 through 2.2.17 (fixed in 2.2.18).“Grav 2.x from 2.0.0 up to and including 2.2.17”
02
The user/env/ folder does not exist (the shipped layout).“It works on the shipped layout, where user/env/ does not exist”
03
The web server passes an unrecognized Host header to Grav, as a default or catch-all virtual host does.“whenever the web server hands an unrecognized Host to Grav, as a default or catch-all virtual host does”
¿Quién debe revisar?Teams running Grav 2.x (2.0.0 through 2.2.17) that give page or media editor accounts, especially on single-site servers that answer unknown Host values.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
grav≥ 2.0.0 < 2.2.18
2.0.0
2.2.18
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
grav
Corregida 2.2.18 — —
Versiones corregidas2.2.18
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/getgrav/grav/security/advisories/GHSA-v6jh-qc33-h6gf

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.