CVE-2026-72698
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.
How to fix
- getgrav/grav2.0.16 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/gravPackagist | v < 2.0.16 | 2.0.16 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.