PoC Monitor
← All CVEs
CVE-2025-66294published 1 Dec 2025 20:52 UTCData: JSON · API

Grav

Grav is vulnerable to RCE via SSTI through Twig Sandbox Bypass

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.

First public PoC 3.1 daysafter publication · 4 Dec 2025 · Metasploit
Public PoCs10 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by NVD · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

getgrav grav
  • < 1.8.0-beta.27

Fixed in 1.8.0-beta.27

Mitigation

Upgrade grav to 1.8.0-beta.27 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 Dec 2025 · t = 0First public PoC4 Dec 2025 · t+3.1d

First public PoC 3.1 days after publication; not in CISA KEV. First PoC: Metasploit exploit: Grav CMS Twig SSTI Authenticated Sandbox Bypass RCE (exploit/multi/http/grav_twig_ssti_sandbox_bypass_rce) (Metasploit, 4 Dec 2025).

PoC repositories

Found on GitHub.

No PoC repositories found yet.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.