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.
Published: 2026-10-12
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Sun, 18 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 12 Oct 2026 16:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-18T12:13:29.706Z

Reserved: 2026-10-12T14:15:29.012Z

Link: CVE-2026-109326

cve-icon Vulnrichment

Updated: 2026-10-18T12:03:48.440Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T17:17:28.017

Modified: 2026-10-18T13:16:33.617

Link: CVE-2026-109326

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T20:15:06Z

Weaknesses
  • CWE-527

    Exposure of Version-Control Repository to an Unauthorized Control Sphere