Twig Content Sandbox Escape in Grav by Getgrav
CVE-2026-100668

7.1HIGH

Key Information:

Vendor

Getgrav

Status
Vendor
CVE Published:
26 September 2026

What is CVE-2026-100668?

Grav versions from 2.0.0 to 2.0.24 are vulnerable to a sandbox escape that allows users to access sensitive configuration data through the Twig templating engine. The vulnerability arises from the array filter being improperly registered without sufficient sandbox protection. This allows a user to exploit page content to execute Twig commands, exposing private service values such as plugin credentials and sensitive configuration parameters to anonymous visitors. This critical flaw compromises the integrity of the application's security framework, making it imperative for users to upgrade to Grav version 2.0.25 or later to mitigate these risks.

Affected Version(s)

grav 0 < 2.0.25

grav 2.0.25

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

1diot9
.