CVE-2026-109326

Grav before 2.1.7 Information Disclosure via Nested .git Directories

Published Oct 12, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Grav before 2.1.7 contains an information disclosure vulnerability because bundled nginx, lighttpd, IIS, and Caddy 2 configurations block .git only at document root. Unauthenticated attackers can request nested repositories such as user/.git to retrieve Git config, refs, and objects, reconstructing unpublished history or committed secrets.

Analysis

AI-generated

Technical impact

Grav runs on several web servers that block .git directories only at the document root. This allows any unauthenticated user to request nested repositories (for example user/.git) and retrieve Git configuration files, references, and objects, enabling reconstruction of unpublished history and the discovery of committed secrets. The vulnerability therefore exposes sensitive information to attackers. The impact is purely disclosure of data; there is no code execution or tampering capability. The weakness is a directory traversal or path handling issue (CWE-527).

Affected Systems

The issue is present in Grav versions prior to 2.1.7. The product is Grav (getgrav), as listed by the CNA. Any deployment of Grav before 2.1.7 running nginx, lighttpd, IIS or Caddy 2 is affected.

Risk and Exploitability

The CVSS score of 8.7 classifies it as a high‑severity information‑disclosure vulnerability. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a simple HTTP request to a nested .git directory via the web server. No authentication is required and no special privileges are needed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grav to version 2.1.7 or newer.
  • Update your web server configuration (nginx, lighttpd, IIS, Caddy) to block access to any .git directory, not just at the document root.
  • Monitor web server logs for unexpected requests to nested .git paths and investigate any anomalies.

Generated by OpenCVE AI on October 12, 2026 at 18:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Grav before 2.1.7 contains an information disclosure vulnerability because bundled nginx, lighttpd, IIS, and Caddy 2 configurations block .git only at document root. Unauthenticated attackers can request nested repositories such as user/.git to retrieve Git config, refs, and objects, reconstructing unpublished history or committed secrets.
Title Grav before 2.1.7 Information Disclosure via Nested .git Directories
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-527
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-527

    Exposure of Version-Control Repository to an Unauthorized Control Sphere

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 18, 2026, 12:13 PM
Reserved
Oct 12, 2026, 2:15 PM
Status
Deferred
Published
Oct 12, 2026, 5:17 PM
Modified
Oct 18, 2026, 1:16 PM