CVE 8.7 HIGH

Grav is vulnerable to RCE via SSTI through Twig Sandbox Bypass_CVE-2025-66294

8.7 / 10
HIGH
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

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.

AI Analysis

Server-Side Template Injection (SSTI) vulnerability allowing authenticated attackers to execute arbitrary commands

Basic Information

ID CVE-2025-66294
Source GitHub_M
Published Dec 1, 2025 at 20:52

Affected Product

Vendor getgrav
Product grav
Version < 1.8.0-beta.27
Affected Versions getgrav grav < 1.8.0-beta.27

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor getgrav
Product Grav
Version < 1.8.0-beta.27

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.