Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Grav versions before 1.7.11 are vulnerable. An administrative user allowed to create or edit pages can enable Twig processing on static pages, and because Twig runs unsandboxed, this can be used to execute arbitrary code and elevate privileges on the instance. Upgrade to Grav 1.7.11, which blocks dangerous PHP functions in Twig templates; restricting access to the /admin path from untrusted sources reduces the likelihood of exploitation.
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 |
|---|---|---|---|---|
| 8.4 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.30, the 98th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:25 UTC First seen by agentprime
- 31 Oct 2026, 14:25 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-g8r4-p96j-xfxc
- OSV: GHSA-g8r4-p96j-xfxc
- github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxc
- nvd.nist.gov/vuln/detail/CVE-2021-29440
- blog.sonarsource.com/grav-cms-code-execution-vulnerabilities
- packagist.org/packages/getgrav/grav
- packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.html