Summary
CVE-2026-109326 is an information disclosure vulnerability in Grav CMS versions before 2.1.7. The bundled nginx, lighttpd, IIS, and Caddy 2 configurations block .git only at the document root, so nested Git repositories remain reachable over HTTP. The CVE record rates it High (CVSS v4.0 score 8.7).
Technical details
- Root cause: the bundled web server configurations for nginx, lighttpd, IIS, and Caddy 2 deny access to
.gitonly at the document root (CWE-527, Exposure of Version-Control Repository to an Unauthorized Control Sphere). - Trigger conditions: a Grav deployment uses one of the affected bundled configurations and contains a nested Git repository in a subdirectory.
- Attack vector: network, with no authentication or user interaction required.
- Impact: an attacker can retrieve nested Git repository contents, including sensitive configuration data and historical commits.
Affected software
- Grav versions before 2.1.7
Severity
- CVSS v4.0: 8.7 (High) –
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 - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: upgrade Grav to version 2.1.7 or later.
- If you cannot patch immediately: I found no vendor-published workaround in the sources I reviewed. Review your web server configuration to confirm it blocks
.gitpaths at every directory level, not only at the root, and check for nested Git repositories under the web root.

