What’s Vulnerable › Vulnerabilities

CVE-2026-76846: Grav before 2.0.16 Information Disclosure via Twig Sandbox

Description

Grav before 2.0.16 contains an incomplete default denylist in the Twig sandbox configuration that fails to block access to system configuration secrets. Attackers with page-edit permission can use config.get() or config.toArray() in Twig templates to retrieve sensitive values like system.cache.redis.password when config_access is enabled.

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-76846 or the next vulnerability affects your stack