CVE-2026-76846
Received Received - Intake

Grav CMS Information Disclosure via Twig Templates

Vulnerability report for CVE-2026-76846, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
grav grav to 2.0.16 (exc)
getgrav grav to 2.0.16 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-522 The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Grav CMS before version 2.0.16 has a flaw in its Twig sandbox configuration where the default denylist fails to block access to system configuration secrets. Attackers with page-edit permissions can use Twig functions like config.get() or config.toArray() to retrieve sensitive values such as Redis passwords when config_access is enabled.

Detection Guidance

Check Grav version with 'bin/grav version' or inspect system/config/security.yaml for the config_denied_paths list. Look for enabled config_access settings in system/config/system.yaml. Review Twig templates for use of config.get() or config.toArray() functions.

Impact Analysis

This vulnerability allows unauthorized users with page-edit permissions to access sensitive system credentials like Redis passwords. It could lead to data breaches, unauthorized access to systems, or further exploitation of the affected environment.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, potentially violating compliance requirements under GDPR (data protection) and HIPAA (protected health information). Exposure of credentials may result in regulatory penalties and loss of trust.

Mitigation Strategies

Upgrade Grav to version 2.0.16 or later. Add 'system' to the config_denied_paths list in system/config/security.yaml. Disable config_access in system/config/system.yaml if not required. Audit templates for unauthorized config access attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-76846. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart