Vulnerability · Published Aug 25, 2026 · Assigned by VulnCheck
CVE-2026-76846Grav before 2.0.16 Information Disclosure via Twig Sandbox
High 7.5
In plain English
A high-severity security flaw in grav from getgrav. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getgrav/grav | 2.0.16 | GHSA-xjw5-q542-3vmr |
Affected products (as reported)
Weakness: CWE-522 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- GitHub Security Advisory (GHSA-xjw5-q542-3vmr) vendor-advisory
- VulnCheck Advisory: Grav before 2.0.16 Information Disclosure via Twig Sandbox third-party-advisory