Live threats

All CVEs / Getgrav

CVE-2025-66294Getgrav Grav

High 8.7

Priority
52
CVSS 4.0
8.7
EPSS
—
Auth required
Yes
Published
Dec 1, 2025
Updated
Sep 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-1336
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

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.8.0-beta.27 1.8.0-beta.27 composer require "getgrav/grav:^1.8.0-beta.27"

Per OSV / GitHub Advisories (GHSA-662m-56v4-3r8f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
getgravgrav≥ 1.7.48 < 1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0

Official sources

References

Links published by the sources. Open them with care.