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.
Published: 2026-10-12
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Sensitive Token Disclosure
Action: Patch Now
AI Analysis

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.

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

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 yet.

History

Tue, 13 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 12 Oct 2026 16:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T18:11:16.527Z

Reserved: 2026-10-12T14:14:27.021Z

Link: CVE-2026-109315

cve-icon Vulnrichment

Updated: 2026-10-13T18:11:10.493Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T17:17:26.340

Modified: 2026-10-13T19:18:32.220

Link: CVE-2026-109315

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T22:30:07Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor