CVE-2021-29440Getgrav Grav
High 7.2 High EPSS
Follow: this CVE · Getgrav · Getgrav Grav We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 3.1
- 7.2
- EPSS
- 29.9% probability of exploitation in 30 days · percentile 99
- Auth required
- Yes
- Published
- Apr 13, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Grav.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | getgrav/grav |
< 1.7.11 |
1.7.11 |
composer require "getgrav/grav:^1.7.11" |
Per OSV / GitHub Advisories (GHSA-g8r4-p96j-xfxc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 1.7.11 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- blog.sonarsource.com Exploit Third Party Advisory
- github.com Third Party Advisory
- packagist.org Product Third Party Advisory