CVE-2025-66299 — Vulnerability in getgrav/grav — CVE Details
Grav is Vulnerable to Security Sandbox Bypass with SSTI (Server Side Template Injection)
Summary
Advisory Timeline
- First published December 2, 2025 (314 days ago).
- Last revised September 10, 2026 — 282 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "getgrav/grav:^1.8.0-beta.27"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| getgrav/grav | packagist | 0.8.0, 0.9.0, 0.9.1, 0.9.10 (+313 more) | 1.8.0-beta.27 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1336
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2025-66299?
- Grav is Vulnerable to Security Sandbox Bypass with SSTI (Server Side Template Injection) This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2025-66299?
- CVE-2025-66299 affects getgrav/grav. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-66299 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2025-66844CRITICAL
Grav may be vulnerable to SSRF attack via Twig Templates
- CVE-2025-66294HIGH
Grav is vulnerable to RCE via SSTI through Twig Sandbox Bypass
- CVE-2026-42844HIGH
Low-privileged Grav API users can create super-admin accounts via blueprint-upload
- CVE-2026-69088HIGH
Grav: Incomplete callable validation in blueprint dynamic fields allows arbitrary static method invocation and file disclosure
- CVE-2025-66297HIGH
Grav vulnerable to Privilege Escalation and Authenticated Remote Code Execution via Twig Injection
- CVE-2026-42612HIGH
Grav Vulnerable to Publisher-Level Stored XSS via Unquoted Event Attributes
- CVE-2026-65608HIGH
Grav: FlexDirectory::dynamicDataField() executes arbitrary callables from blueprint data with no validation
- CVE-2026-75837HIGH
Grav: Missing admin.super guard on core group blueprint access field allows admin.users operator to escalate to super-admin
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies