RCE in Getgrav Grav

CVE-2021-29440

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.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.306 (98.2th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-29440: held from 0.306 to 0.306.

EPSS over last 30 days · oldest: 0.306 · newest: 0.306 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-29440?
CVE-2021-29440 is a high-severity vulnerability in Getgrav Grav, classified under Code Injection. CVSS score: 8.4/10. Published 2021-04-13.
How severe is CVE-2021-29440?
High severity. CVSS v3 base score is 8.4 out of 10.
Is CVE-2021-29440 known to be exploited?
12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.