Skip to main content
VulnerabilityPublished Updated

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

0

CVSS 6.5 Medium · fixed in 2.0.16 : update getgrav/grav when convenient.

Data as of 18 Sep 2026, 01:28 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

What to do

Affected software

ProductAffectedFixed in
Packagistgetgrav/gravAffected–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.

References

Community reviews

Loading reviews…