7.5High

CVE-2026-109326Grav before 2.1.7 Information Disclosure via Nested .git Directories

getgrav grav Published: (1 month ago)

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.

Weakness (CWE): CWE-527

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
getgrav grav < 2.1.7, fixed 2.1.7

References and patches