{"id":"CVE-2026-76846","revision":"2c8a148958c147fa87c403a494fdc0a1","records":[{"revision":"2c8a148958c147fa87c403a494fdc0a1","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-76846","aliases":[],"title":"Grav before 2.0.16 Information Disclosure via Twig Sandbox","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.","state":0,"publishedAt":"2026-08-25T01:30:31.891+00:00","modifiedAt":"2026-10-08T15:25:06.688+00:00","affected":[{"ecosystem":"Vendor product","name":"grav","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"getgrav\",\n                    \"product\": \"grav\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.0.16\"\n                        },\n                        {\n                            \"version\": \"2.0.16\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:composer/getgrav/grav\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-xjw5-q542-3vmr","https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-twig-sandbox"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-76846","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-76846","identifiers":["CVE-2026-76846"]},"retained":false,"historicalAffected":[]}],"coverage":[]}