Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Grav versions before 2.0.2 are affected: the Twig content sandbox can be bypassed so that content authors can read the full configuration tree, including plugin secrets such as SMTP credentials, API keys and plugin database credentials. An attacker needs only the admin.pages permission (or filesystem write access to user/pages) and no admin or super privileges, and the attack is read-only. The advisory notes that this bypass affects the default install because modular pages are sandbox-rendered without the Twig opt-in. Upgrade to Grav 2.0.2, which is the listed fixed version.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.1 | High | 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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.054, the 92nd percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:06 UTC First seen by agentprime
- 31 Oct 2026, 14:06 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-mc5q-6hpj-rp7j
- OSV: GHSA-mc5q-6hpj-rp7j
- github.com/getgrav/grav/security/advisories/GHSA-mc5q-6hpj-rp7j
- nvd.nist.gov/vuln/detail/CVE-2026-61842
- github.com/getgrav/grav/commit/7efe70574e4cf01a251318478c13673029e93eb6
- github.com/getgrav/grav
- github.com/getgrav/grav/releases/tag/2.0.2