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.
Published: 2026-08-25
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Grav CMS before version 2.0.16 does not properly filter system, site, and theme configuration arrays when rendering sandboxed Twig templates, allowing content editors to read sensitive configuration values such as cache credentials by using dot notation in Twig templates. This flaw represents a classic Information Disclosure weakness (CWE‑200).

Affected Systems

The vulnerability affects the Grav CMS product (getgrav:grav). All installations running any version earlier than 2.0.16 are susceptible; the specific version numbers are not listed in the advisory, but any instance before that patch is impacted.

Risk and Exploitability

The CVSS score of 7.1 indicates a medium‑to‑high severity vulnerability. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog. Attackers need only page‑content edit access to exploit the issue; the bypass is achieved through dot notation usage in Twig templates, which is not restricted by the config_denied_paths mechanism. Once exploited, an attacker can read raw configuration arrays and potentially obtain confidential credentials, increasing the risk to the confidentiality of the system.

Generated by OpenCVE AI on August 25, 2026 at 03:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the Grav CMS 2.0.16 patch or later to eliminate the sandbox bypass.
  • Restrict page‑content edit permissions to trusted users or reduce the scope of content editor capabilities to minimize exposure.
  • Audit existing Twig templates for dot notation references to configuration arrays and refactor or remove them to ensure no unintended data leaks.

Generated by OpenCVE AI on August 25, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 25 Aug 2026 02:00:00 +0000

Type Values Removed Values Added
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.
Title Grav CMS before 2.0.16 Information Disclosure via Twig Sandbox Bypass
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-200
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-25T01:30:21.127Z

Reserved: 2026-08-10T13:02:20.829Z

Link: CVE-2026-72698

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-25T02:16:45.550

Modified: 2026-08-25T02:16:45.550

Link: CVE-2026-72698

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T03:30:05Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor