# CVE-2026-76846: Grav before 2.0.16 Information Disclosure via Twig Sandbox

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-25T01:30:31.891Z
- Modified: 2026-10-12T15:10:00.207Z
- Also known as: GHSA-xjw5-q542-3vmr
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 2.0.16 (not affected: 2.0.16)
- getgrav/grav (Packagist): before 2.0.16

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-xjw5-q542-3vmr> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-twig-sandbox> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-76846> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2026-76846](https://www.cve.org/CVERecord?id=CVE-2026-76846), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-xjw5-q542-3vmr](https://github.com/advisories/GHSA-xjw5-q542-3vmr), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-76846](https://nvd.nist.gov/vuln/detail/CVE-2026-76846), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-76846 · Whole record: https://cve.day/CVE-2026-76846.json · Rebuilt by cve.day 2026-11-25T22:59:35.097Z
