What’s Vulnerable › Vulnerabilities

CVE-2026-72698: Grav CMS before 2.0.16 Information Disclosure via Twig Sandbox Bypass

Description

Grav CMS before 2.0.16 fails to filter system, site, and theme configuration arrays in sandboxed Twig renders, allowing content editors to read sensitive configuration values. Attackers with page-content edit access can access raw configuration arrays including secrets like cache credentials by using dot notation in Twig templates, bypassing the config_denied_paths restrictions.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 2.0.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-72698 or the next vulnerability affects your stack