CVE-2026-76846

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGetgrav/grav
PublishedAug 25, 2026
First seenAug 25, 2026
Weakness typeCWE-522CWE-522

How to fix

Update
  • getgrav/grav2.0.16 or later

Affected products

ProductAffected versionsFixed in
getgrav/gravPackagistv < 2.0.162.0.16

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-76846 · Getgrav/grav · Dark Radar