Remote code execution in Grav API plugin via blueprint upload
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
The Grav API plugin from 1.0.0 before 1.1.4 contains a code generation flaw (CWE-94) that allows remote code execution. A publisher with media and page write rights can write theme template files through the blueprint-upload endpoint. Uploaded Twig templates can then be included from sandboxed page Twig, which lets commands run as the web-server user.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
Description from the CNA
Grav API plugin from 1.0.0 before 1.1.4 contains a remote code execution vulnerability that allows publishers with media and page write rights to write theme template files through the blueprint-upload endpoint. Attackers can upload a file into a theme's Twig templates folder and include it from sandboxed page Twig to execute commands as the web-server user.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade the Grav API plugin to version 1.1.4, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
- Fix · CNA grav (getgrav) Fixed in 1.1.4
Timeline
- 2026-11-21 Threatist record created from CVE-2026-134253
- 2026-11-21 Alias added: GHSA-jj64-7gcj-mh3j
- 2026-11-23 CISA SSVC decision points changed
References
More getgrav vulnerabilities
- TI-2026-30893 Grav: Privilege Escalation via Missing Server-Side Validation of groups/access CVSS 3.1CRITICAL 9.4
- TI-2025-28971 Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
- TI-2021-04523 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution CVSS 3.1CRITICAL 9.8
- TI-2026-50940 Grav CMS before 2.0.16 Origin Validation Bypass via Referer CVSS 4.0CRITICAL 9.3
- TI-2026-46446 Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData CVSS 4.0CRITICAL 9.3
- TI-2021-22428 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2) CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-134253 · CVE Program
- CVE-2026-134253 · NVD
- FIRST EPSS
- GHSA-jj64-7gcj-mh3j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences