getgrav/grav · Duplicate Advisory: Grav: The system, site, and theme Twig variables bypass the content sandbox entirely and are never covered by config_denied_paths
Affects getgrav/gravSource GCVE Database
CVSS 6.5 Medium · fixed in 2.0.16 : update getgrav/grav when convenient.
Data as of 18 Sep 2026, 01:28 UTC
- Patch
- Available – fixed in 2.0.16
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistgetgrav/grav | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Grav CMS version 2.0.16. Users should upgrade to version 2.0.16 or later to remediate this vulnerability. No other mitigation is indicated by the advisory.
Description
Grav CMS versions before 2.0.16 have a vulnerability where system, site, and theme configuration arrays are not filtered in sandboxed Twig template renders. This allows attackers with page-content edit permissions to read sensitive configuration data, including secrets like cache credentials, by bypassing config_denied_paths restrictions using dot notation in Twig templates.