CVE-2026-109315

Grav 2.0.22 before 2.1.7 Clockwork Debugger Token Disclosure via Twig Sandbox

Published Oct 12, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Grav from version 2.0.22 up to (but not including) 2.1.7 contains a flaw that allows page editors to expose the Clockwork debugger token. The sandbox redaction list in the vulnerable versions does not include system.debugger.token, so editors can render the token via Twig. Once the token is obtained, an attacker can supply it as the X-Clockwork-Auth header to access profiler records, which include configuration, request metadata, and database queries, effectively leaking sensitive application data.

Affected Systems

The affected product is Grav, version 2.0.22 through 2.1.6, provided by getgrav. No other vendors or product lines are listed as impacted.

Risk and Exploitability

Based on the description, it is inferred that the vulnerability requires an attacker already to have the ability to edit pages, indicating a privileged editorial access requirement. The CVSS score of 7.1 indicates a medium‑to‑high severity, and the EPSS score is not available and the issue is not listed in the CISA KEV catalog. Once the token is exposed, an attacker can read all profiler data—including configuration secrets and database queries—which could aid further attacks or compromise security parameters. Because the attack vector relies on privileged editorial access rather than remote code execution or arbitrary user input, it is inferred that the exploitation risk is limited to environments where editors can inject or view content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Grav to version 2.1.7 or later
  • Restrict editor accounts from accessing the Clockwork debugger or remove system.debugger.token from the sandbox redaction list
  • Audit existing Grav pages for embedded tokens and remove any that expose the Clockwork debugger token

Generated by OpenCVE AI on October 12, 2026 at 19:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Grav 2.0.22 before 2.1.7 Clockwork Debugger Token Disclosure via Twig Sandbox
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-200
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, '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'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 6:11 PM
Reserved
Oct 12, 2026, 2:14 PM
Status
Deferred
Published
Oct 12, 2026, 5:17 PM
Modified
Oct 13, 2026, 7:18 PM