CVE-2026-72698

Summary

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 Software

VendorProductVersion RangeStatus
getgravgrav0 < 2.0.16affected
getgravgrav2.0.16unaffected

Weaknesses

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

References