High severity8.4NVD Advisory· Published Apr 13, 2021· Updated Jun 17, 2026
CVE-2021-29440
CVE-2021-29440
Description
Grav is a file based Web-platform. Twig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. As the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance. The issue was addressed in version 1.7.11.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
getgrav/gravPackagist | < 1.7.11 | 1.7.11 |
Affected products
3Patches
Vulnerability mechanics
References
6- packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.htmlnvdExploitThird Party AdvisoryVDB EntryWEB
- blog.sonarsource.com/grav-cms-code-execution-vulnerabilitiesnvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-g8r4-p96j-xfxcghsaADVISORY
- github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxcnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-29440ghsaADVISORY
- packagist.org/packages/getgrav/gravnvdProductThird Party AdvisoryWEB
News mentions
0No linked articles in our index yet.