---
id: GHSA-crrc-vpp2-f5x7
title: >-
  Duplicate Advisory: 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
summary: >-
  Duplicate Advisory: 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
severity: high
cvss: 7.5
cwe:
  - CWE-522
vendor: getgrav
product: getgrav/grav
ecosystem: composer
affected:
  - getgrav/grav < 2.0.16
published: '2026-08-25'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T20:26:29Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-crrc-vpp2-f5x7'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-xjw5-q542-3vmr'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-76846'
  - url: >-
      https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-twig-sandbox
  - url: 'https://github.com/advisories/GHSA-crrc-vpp2-f5x7'
tags:
  - ghsa
  - composer
ingestedAt: '2026-09-17T20:28:02.777Z'
---

## Overview

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-xjw5-q542-3vmr. This link is maintained to preserve external references.

### Original 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

- `getgrav/grav < 2.0.16`

## Remediation

Refer to the advisory for the patched release.
