Live threats

All CVEs / Getgrav

CVE-2021-29440Getgrav Grav

High 7.2 High EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grav.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
getgravgrav< 1.7.11

Official sources

References

Links published by the sources. Open them with care.