CVE-2026-61450getgrav grav
Alta 7.1
Seguir: esta CVE · getgrav · getgrav grav Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 43
- CVSS 4.0
- 7.1
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 10 jul 2026
- Actualizada
- 25 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/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
Qué pasa
Grav before 2.0.2 contains a Twig sandbox bypass that allows a page author (any admin.pages user, or anyone able to write to user/pages) to exfiltrate configuration secrets. Although the sandbox replaces the 'config' variable with a redacted facade and strips Config::get/toArray from the method allowlist, the raw container remains accessible via the allow-listed grav.offsetGet('config'), which returns the real Config object. Allow-listed object-dumping filters (json_encode, print_r, yaml_encode) then serialize that object at the PHP level without invoking the sandbox method gate, exposing the full config tree including plugin secrets such as SMTP credentials, API keys, and plugin DB credentials. This is an incomplete fix for GHSA-j274-39qw-32c9.
Qué hacer
- Aplica la actualización de seguridad del fabricante para grav.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | getgrav/grav |
< 2.0.2 |
2.0.2 |
composer require "getgrav/grav:^2.0.2" |
Según OSV / GitHub Advisories (GHSA-mc5q-6hpj-rp7j). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- getgrav · grav
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.