Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Grav site with debugger enabled
-
DeliveryRequest /__clockwork/ unauthenticated
-
ExploitPaginate stored profiler history
-
ExecutionExtract admin session cookie / plaintext credentials / config secrets
-
PersistReplay session or log in as admin
-
ImpactFull site takeover and secret exfiltration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the Grav debugger to be explicitly turned on (system.debugger.enabled: true), which is NOT the default configuration - this is the primary limiting factor and most likely present on dev/staging or misconfigured production sites. When enabled, no authentication, user interaction, or special privileges are needed: the attacker simply requests any path containing /__clockwork/ over the network against a vulnerable Grav 1.7.0-1.7.53.2 or 2.0.0-2.0.21 install. The shipped censored: false default is what exposes cookies, request bodies, and config; note that Authorization and X-API-Token headers are disclosed even with censored: true, and on Grav 2.0 setting provider: debugbar does NOT mitigate because Clockwork is forced for JSON-preferring requests. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H, base 8.7) rates this HIGH: once reachable, exploitation is network-based, low-complexity, unauthenticated, and yields high confidentiality impact (VI:N/VA:N - no integrity/availability). However, the single most important limiting signal is in the description, not the vector: the vulnerable /__clockwork/ endpoint is only exposed when system.debugger.enabled: true, which is explicitly NOT the default. This is a deployment/config gate that the CVSS vector arguably under-weights (a defensible CVSS 4.0 AT:P). No EPSS score, no CISA KEV listing, and no public POC are present in the input - so there is no evidence of active exploitation or automated weaponization. Net: this is a genuinely serious confidentiality flaw (session cookies, plaintext admin passwords, and stored SMTP/API/licence secrets are exposed) that in practice chains to full admin takeover, but real-world risk is bounded to the subset of Grav installs running with the debugger deliberately enabled - typically dev/staging or misconfigured production. Treat as high priority for any environment with debugging on; lower priority for default installs. Note the vendor scored this confidentiality-only despite the practical escalation to account takeover via disclosed credentials - the downstream integrity impact is real but not reflected in the base score. |
| Exploit ScenarioDerived | An attacker who discovers a Grav 1.7.x/2.0.x site running with the debugger enabled requests /__clockwork/ (and paginates the stored history) with no authentication, retrieving profiled records that contain victims' raw session cookies, plaintext login-form passwords, and the full site/plugin configuration. The attacker replays a captured admin session cookie (the PHP session id) or the disclosed admin password to log in as administrator, and harvests stored SMTP credentials, third-party API keys, and licence keys. No public exploit code is identified at time of analysis, but the attack is a trivial series of unauthenticated HTTP GETs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Unauthenticated information disclosure in Grav CMS 1.7.0 through 1.7.53.2 and 2.0.0 through 2.0.21 allows any remote attacker who can reach the site to read stored request cookies, plaintext login credentials, and the complete system and plugin configuration - including operator-saved SMTP credentials, third-party API keys, and licence keys - whenever the optional debugger (system.debugger.enabled: true, not the shipped default) has been left enabled. Rated CVSS 4.0 base 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) and consistent with the assessed CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, exploitation is network-based, low-complexity, and requires no privileges, authentication, or user interaction, with high confidentiality impact and no integrity or availability effect. Exposure is limited to development, staging, or misconfigured production installs where the debugger was deliberately turned on; no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to Grav 1.7.53.4 or 2.0.22, which restrict /__clockwork/ access to server-local requests or requests presenting the new system.debugger.token secret and strip cookies and credential headers from stored records; the upgrade details are in https://github.com/getgrav/grav/security/advisories/GHSA-q3ff-cj6v-rr5g. If immediate patching is not possible, set system.debugger.enabled: false (the feature is optional, and disabling it removes profiling/debugging capability for developers) or block any request path containing /__clockwork/ at the web server or CDN edge - verify the rule matches encoded and case-varied variants, and note that blocking the path also breaks Clockwork use on legitimate local development hosts. Do not rely on switching provider: debugbar as a mitigation on Grav 2.0, since Grav forces the Clockwork provider for JSON-preferring requests. Because stored history may already have been read while the debugger was enabled, treat the instance as compromised: rotate the SMTP credentials, third-party API keys, and licence keys visible in configuration, invalidate existing PHP sessions so stolen session IDs can no longer be resumed, and review access logs for requests to paths containing /__clockwork/.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) in Grav's integration of the Clockwork PHP debugging/profiling library. When the non-default system.debugger.enabled setting is true, InitializeProcessor::handleDebuggerRequest() intercepts any request path containing /__clockwork/ during bootstrap and forwards it to Debugger::debuggerRequest(), which performs no user lookup, no IP restriction, and no Clockwork authenticator check; the endpoint also supports anonymous pagination across the entire stored profiling history. Because the shipped censored: false default is retained, each stored record contains raw request cookies - notably Grav's session cookie, whose value is the PHP session ID, enabling an attacker to resume another user's session including an authenticated administrator's - the full parsed request body, and the complete site and plugin configuration. Grav's login form posts credentials as data[username]/data[password], and Clockwork's password filter inspects only top-level keys, so these values are persisted in plaintext. Even with censored: true, Authorization and X-API-Token headers are still stored. On Grav 2.0, switching to provider: debugbar does not close the hole because Grav forces the Clockwork provider for requests that prefer a JSON response. The vendor fix in 1.7.53.4 and 2.0.22 restricts /__clockwork/ to server-local requests or requests presenting the new system.debugger.token secret and strips cookies and credential headers from stored records. Affected installs are identified by the CPE getgrav:grav (all versions in the ranges above), and the issue is tracked as EUVD-2026-81438 and reported by VulnCheck.
Know when Grav gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Unauthenticated network read of the exposed endpoint once debugger is enabled (config gate, not attacker-controlled) gives AC:L/PR:N; base impact is confidentiality-only per CWE-200, so I:N/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Grav is a flat-file CMS. In Grav 1.7.0 through 1.7.53.2 and 2.0.0 through 2.0.21, when the debugger is enabled (system.debugger.enabled: true, which is not the default), the Clockwork profiler endpoint is exposed without authentication: InitializeProcessor::handleDebuggerRequest() intercepts any path containing /__clockwork/ during bootstrap and passes it to Debugger::debuggerRequest(), which performs no user lookup, IP restriction, or Clockwork authenticator check, and also supports anonymous pagination over the entire stored history. With the shipped censored: false default, each stored record contains raw request cookies (including Grav's session cookie, whose value is the PHP session id, allowing an attacker to resume another user's session, including an authenticated admin's), the full parsed request body (Grav's login form posts data[username]/data[password], so passwords are stored in plaintext because Clockwork's password filter only inspects top-level keys), and the site's entire system and plugin configuration, including operator-saved secrets such as SMTP credentials, third-party API keys, and licence keys. Authorization and X-API-Token headers are stored even when censored: true. On Grav 2.0, setting provider: debugbar does not avoid the issue because Grav forces the Clockwork provider for requests preferring a JSON response. The issue is fixed in 1.7.53.4 and 2.0.22, which restrict /__clockwork/ to server-local requests or requests presenting the new system.debugger.token secret and strip cookies and credential headers from stored records. Workarounds include setting debugger.enabled: false or blocking /__clockwork/ at the web server or CDN.
Technical POC Analysis
Evidence base: this analysis rests on advisory GHSA-q3ff-cj6v-rr5g only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
An unauthenticated information-disclosure flaw in Grav CMS (versions 1.7.0-1.7.53.2 and 2.0.0-2.0.21) exposes stored cookies, plaintext login credentials, and the full system and plugin configuration-including SMTP passwords, third-party API keys, and licence keys-to any remote attacker who can reach an affected site. The exposure only applies to instances where the optional debugger has been manually enabled, which is not the vendor default, meaning the risk is concentrated in development, staging, and misconfigured production environments. Leadership should care because leaked credentials and API keys enable account takeover and lateral movement into connected third-party services, and no vendor patch is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: disable system.debugger.enabled (set to false) and remove debugger configuration overrides; keep development and staging instances off the public internet via network controls or authentication gateways; restrict or block access to debugger endpoints at the WAF/reverse proxy; rotate all credentials, API keys, and licence keys stored in Grav configuration as a precaution; enable and monitor access logs for the affected services to detect credential abuse.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol
Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug
Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a
GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv
Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages
Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri
Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm
Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past
Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S
Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary
EUVD-2026-81438
GHSA-q3g2-wjhw-4rmj
NVD
CVE.org
EPSS
Exploit-DB