CVE-2026-92916: Grav through 2.0.21 Unauthenticated Information Disclosure via Clockwork

Published Sep 17, 2026
·
Updated

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.

Affected Software

1 affected component
grav>=1.7.0<=1.7.53.2, >=2.0.0<=2.0.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 1.7.53.4
  2. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 2.0.22
  3. Configuration

    Disable the debugger (system.debugger.enabled: false) to prevent the unauthenticated /__clockwork/ endpoint exposure.

    Grav system.debugger.enabled = false
  4. Compensating control

    Block requests to the Clockwork profiler endpoint path /__clockwork/ at the web server or CDN (so it is not reachable externally).

Event History

Sep 17, 2026
CVE Published
via MITRE·11:16 AM
Data Sourced
via MITRE·11:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Grav 1.7.0 through 1.7.53.2 and 2.0.0 through 2.0.21 are exposed when system.debugger.enabled is set to true. The debugger is not enabled by default.

2

Does exploitation require an account or user interaction?

No. The Clockwork handler performs no user lookup, IP restriction, or Clockwork authentication check, and an attacker can anonymously paginate through stored profiler history.

3

What information could be recovered from stored profiler records?

With the shipped censored: false default, records can contain raw request cookies, parsed request bodies including Grav login usernames and passwords, and complete system and plugin configuration. This may expose PHP session IDs, authenticated administrator sessions, SMTP credentials, API keys, licence keys, and Authorization or X-API-Token headers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203