---
id: GHSA-mw85-cjh9-8hp7
title: >-
  Duplicate Advisory: Grav: The system, site, and theme Twig variables bypass
  the content sandbox entirely and are never covered by config_denied_paths
summary: >-
  Duplicate Advisory: Grav: The system, site, and theme Twig variables bypass
  the content sandbox entirely and are never covered by config_denied_paths
severity: high
cvss: 6.5
cwe:
  - CWE-200
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:25:17Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-mw85-cjh9-8hp7'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-p597-crqc-m349'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72698'
  - url: >-
      https://www.vulncheck.com/advisories/grav-cms-before-information-disclosure-via-twig-sandbox-bypass
  - url: 'https://github.com/advisories/GHSA-mw85-cjh9-8hp7'
tags:
  - ghsa
  - composer
ingestedAt: '2026-09-17T20:28:02.778Z'
---

## Overview

### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-p597-crqc-m349. This link is maintained to preserve external references.

### Original Description
Grav CMS before 2.0.16 fails to filter system, site, and theme configuration arrays in sandboxed Twig renders, allowing content editors to read sensitive configuration values. Attackers with page-content edit access can access raw configuration arrays including secrets like cache credentials by using dot notation in Twig templates, bypassing the config_denied_paths restrictions.

## Affected packages

- `getgrav/grav < 2.0.16`

## Remediation

Refer to the advisory for the patched release.
