Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-109325 Overview
CVE-2026-109325 is an authentication bypass vulnerability in the Grav flat-file content management system (CMS). The flaw resides in the Clockwork profiler component, which trusts loopback REMOTE_ADDR values to authorize access to profiler data. Unauthenticated attackers behind a same-host HTTP proxy can read profiler records that expose system and plugin configuration, secrets, request metadata, and database queries. The vulnerability affects Grav versions from 2.0.22 before 2.1.7 and is categorized under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Critical Impact
Remote unauthenticated attackers can retrieve profiler records containing secrets, configuration data, and query details when a same-host proxy forwards their requests.
Affected Products
- Grav CMS 2.0.22 through 2.1.6
- Grav installations exposing the Clockwork profiler
- Deployments with a same-host HTTP proxy in front of Grav
Discovery Timeline
- 2026-10-12 - CVE-2026-109325 published to the National Vulnerability Database (NVD)
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-109325
Vulnerability Analysis
Grav bundles the Clockwork profiler to assist developers with debugging requests, database queries, and plugin behavior. The profiler endpoint is intended to serve data only to local developers, so Grav restricts access by checking the REMOTE_ADDR HTTP server variable against loopback addresses such as 127.0.0.1 and ::1.
The check does not account for deployments where a reverse proxy, load balancer, or sidecar runs on the same host as the Grav application. In those topologies, every request arrives at Grav with a loopback source address, regardless of the real client. The profiler treats these requests as trusted and returns the full profiler payload without further authentication.
The exposed data includes system configuration, plugin configuration, secrets referenced during request handling, request and session metadata, and executed queries. Attackers can use this information to pivot to further compromise, including credential theft and targeted exploitation of other components.
Root Cause
The root cause is reliance on an untrusted network attribute for authorization. Trusting REMOTE_ADDR to identify a local developer ignores standard proxy chains where X-Forwarded-For or equivalent headers carry the real client address. The profiler should require an authenticated administrative session rather than infer trust from the connecting socket.
Attack Vector
An unauthenticated remote attacker sends HTTP requests to the Grav host through any same-host proxy. The proxy forwards traffic to Grav with a loopback source address, satisfying the profiler's trust check. The attacker then retrieves Clockwork profiler records by requesting the profiler data endpoint. No credentials, user interaction, or prior access are required. See the GitHub Security Advisory and the VulnCheck Authentication Bypass Advisory for additional technical detail.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-109325
Indicators of Compromise
- HTTP requests to Clockwork profiler paths such as /__clockwork/ originating from external clients but logged with loopback source addresses
- Unexpected profiler data responses returning JSON payloads containing configuration keys, secrets, or SQL queries
- Spikes in request volume to profiler endpoints from a narrow set of upstream proxy addresses
Detection Strategies
- Review web server and reverse proxy access logs for requests to /__clockwork/ or other Clockwork endpoints and correlate with upstream X-Forwarded-For values
- Alert on any profiler endpoint response in production environments where debugging should be disabled
- Compare the REMOTE_ADDR seen by Grav with the real client IP recorded upstream to flag disparity
Monitoring Recommendations
- Continuously monitor Grav installations for the running version and flag any instance in the 2.0.22 to 2.1.6 range
- Capture full URI and response size metrics for profiler routes to detect data exfiltration patterns
- Forward web server and application logs to a centralized analytics platform for retention and correlation with authentication events
How to Mitigate CVE-2026-109325
Immediate Actions Required
- Upgrade Grav to version 2.1.7 or later, which contains the vendor fix
- Disable the Clockwork profiler in any production environment where developer debugging is not required
- Block external access to profiler routes at the reverse proxy or web application firewall layer
Patch Information
Grav 2.1.7 remediates the authentication bypass. Review the GitHub Security Advisory GHSA-v8fx-pc9p-934x for upgrade guidance and the complete list of fixed releases.
Workarounds
- Deny all external requests to Clockwork profiler paths at the proxy or load balancer
- Set the Grav debugger and profiler configuration to disabled in system.yaml for production deployments
- Restrict same-host proxies so they cannot forward arbitrary external client requests to the Grav application socket
# Configuration example
# Example nginx snippet to block Clockwork profiler access
location ~ ^/__clockwork/ {
return 404;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

