CVE-2026-72698
HIGH 7.1CVSS 4.0Grav: The system, site, and theme Twig variables bypass the content sandbox entirely and are never covered by config_denied_paths
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
- 25 Aug 2026
- Last modified
- 12 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-200
- Also known as
- GHSA-p597-crqc-m349
- Sources
- NVDJSONOSV GHSA-p597-crqc-m349JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | getgrav/grav | < 2.0.16 | 2.0.16 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-p597-crqc-m349 · WEB
- https://www.vulncheck.com/advisories/grav-cms-before-information-disclosure-via-twig-sandbox-bypass · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-72698 · ADVISORY
- https://github.com/getgrav/grav · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Sep 2026)