# Grav: config_denied_paths default list omits `system`, exposing real secrets (e.g. system.cache.redis.password) via the Twig sandbox when config_access is enabled

High severity, published 2026-09-17. Update getgrav/grav to 2.0.16 or later: composer update getgrav/grav.

Canonical URL: https://buzzphp.com/security/ghsa-xjw5-q542-3vmr · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.5) |
| Published | 2026-09-17 |
| Updated | 2026-09-17 |
| CVE | [CVE-2026-76846](https://nvd.nist.gov/vuln/detail/CVE-2026-76846) |
| GHSA | [GHSA-xjw5-q542-3vmr](https://github.com/advisories/GHSA-xjw5-q542-3vmr) |
| Weakness | CWE-522 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| getgrav/grav | <= 2.0.15 | 2.0.16 |

## What to do

Update getgrav/grav to 2.0.16 or later: composer update getgrav/grav.

Check which version you run with `composer show getgrav/grav`, and every affected package with `composer audit`.

## About this advisory

Summary

system/config/security.yaml's default twigsandbox.configdeniedpaths list (plugins, streams, security, backups, scheduler) omits the system prefix. When an operator enables the documented, non-default twigcontent.configaccess: true setting (intended to safely expose low-sensitivity values like site.title to editor-authored Twig content), any real secret stored under system. , for example system.cache.redis.password , is also exposed, both via config.get(...) and via config.toArray(), to any user with page-edit permission.



## Links

- [GHSA-xjw5-q542-3vmr on GitHub](https://github.com/advisories/GHSA-xjw5-q542-3vmr)
- [CVE-2026-76846 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-76846)
- [All Composer security advisories](https://buzzphp.com/security)
