Read the docs

Remote code execution in Grav API plugin via blueprint upload

Priority MEDIUM 42CWE-94Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01081 64th percentileScored 2026-11-30
Fix Fixed grav (getgrav): 1.1.4

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

VendorProductAffected versionsFixed inStatusSource
getgravgrav1.0.0 to before 1.1.41.1.4Patch availableCNA
  • grav Vendorgetgrav Affected 1.0.0 to before 1.1.4 Fixed in 1.1.4 Patch available CNA

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

  1. 2026-11-21 Threatist record created from CVE-2026-134253
  2. 2026-11-21 Alias added: GHSA-jj64-7gcj-mh3j
  3. 2026-11-23 CISA SSVC decision points changed

References

  • 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
See all 253 →

Sources