Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

getgrav grav

Default version status: unaffected

  • 0 to < 2.0.16affected
  • 2.0.16unaffected
pkg:composer/getgrav/grav

References