What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 2.1.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-109326 or the next vulnerability affects your stack