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

Published Oct 12, 2026
·
Updated

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 Software

1 affected component
Grav Grav<2.1.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 2.1.7

Event History

Oct 12, 2026
CVE Published
via MITRE·04:05 PM
Data Sourced
via MITRE·04:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Grav installations before 2.1.7 using the bundled nginx, lighttpd, IIS, or Caddy 2 configurations are exposed if a nested .git directory is reachable beneath the web-accessible document tree.

2

Does exploitation require authentication or user interaction?

No. An unauthenticated remote attacker can exploit the issue by requesting files from a nested repository path such as user/.git.

3

What information could an attacker obtain?

Attackers may retrieve Git configuration, references, and object data. This can allow reconstruction of unpublished repository history or recovery of secrets committed to the repository.

4

What should be checked while awaiting an upgrade?

Check for nested .git directories under the web-accessible Grav document tree, particularly in user-accessible paths. Verify that the web server denies access to .git directories at any directory depth, not only at the document root.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203