CVE-2026-76846
published high CVSS 4.0 · 8.7Grav before 2.0.16 Information Disclosure via Twig Sandbox
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav0 to < 2.0.16 (affected · semver) · 2.0.16 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 0 to < 2.0.16 (affected · semver)2.0.16 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-522 Insufficiently Protected Credentials
References
2- GitHub Security Advisory (GHSA-xjw5-q542-3vmr) https://github.com/getgrav/grav/security/advisories/GHSA-xjw5-q542-3vmr
- VulnCheck Advisory: Grav before 2.0.16 Information Disclosure via Twig Sandbox https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-twig-sandbox
Provider assertions
2VulnCheck · cna
Grav before 2.0.16 Information Disclosure via Twig Sandbox
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b97a6f6dc936f088ea511772fab15c4fe3e07a279aa6798b158d47ca10467835
- Ingested
- 09 Oct 2026, 16:37:07 UTC
- Source record
- Official CVE record