8.8

CVE-2025-66294: getgrav grav Code Injection

CVSS: 8.8v3.1HighAnalyzed
Published 01-12-2025Last modified 02-12-2025

Vulnerability summary

CVE-2025-66294 is a high (CVSS 8.8) Code Injection vulnerability in getgrav grav. EPSS estimates a 2.82% chance of exploitation in the next 30 days, higher than 86.3% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
46/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
2.82%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, metasploit

Timeline

  1. 01-12-2025
    PublishedVulnerability first disclosed.
  2. 02-12-2025
    Last modifiedVulnerability information updated.

Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a Server-Side Template Injection (SSTI) vulnerability exists in Grav that allows authenticated attackers with editor permissions to execute arbitrary commands on the server and, under certain conditions, may also be exploited by unauthenticated attackers. This vulnerability stems from weak regex validation in the cleanDangerousTwig method. This vulnerability is fixed in 1.8.0-beta.27.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

2.82%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

0.00 pp

From 2.82% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.82%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Grav

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Grav CMS Twig SSTI Authenticated Sandbox Bypass RCE

    exploit/multi/http/grav_twig_ssti_sandbox_bypass_rce

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Getgrav1 product
  • grav< 1.8.0-beta.27 | ≥ 1.7.48, < 1.8.0 | 1.8.0:beta1 | 1.8.0:beta10 | 1.8.0:beta11 | 1.8.0:beta12 | 1.8.0:beta13 | 1.8.0:beta14 | 1.8.0:beta15 | 1.8.0:beta16 | 1.8.0:beta17 | 1.8.0:beta18 | 1.8.0:beta19 | 1.8.0:beta2 | 1.8.0:beta20 | 1.8.0:beta21 | 1.8.0:beta22 | 1.8.0:beta23 | 1.8.0:beta24 | 1.8.0:beta25 | 1.8.0:beta26 | 1.8.0:beta3 | 1.8.0:beta4 | 1.8.0:beta5 | 1.8.0:beta6 | 1.8.0:beta7 | 1.8.0:beta8 | 1.8.0:beta9

1 vendor · 1 product

References

2 links