All vulnerabilities

Servers and applications

GHSA-pg8v-xw58-frq8

Grav bundled IIS web.config (and lighttpd.conf) case-sensitive deny rules allow case-variation bypass and sensitive file disclosure

Severity
High 7.5
Published
9 Sept 2026
Last changed
9 Sept 2026
Added to UpHeron
7 Nov 2026
Fixed in
1.7.53.8, 2.0.25
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

The web server configs Grav bundles for IIS (webserver-configs/web.config) match all of their access-control deny rules case-sensitively. IIS URL Rewrite elements default to ignoreCase="true", but every deny rule in the shipped web.config sets ignoreCase="false"`, making the regexes case-sensitive.

On IIS, which runs on Windows where NTFS is case-insensitive, an unauthenticated attacker can vary the case of the folder or file extension — for example GET /user/CONFIG/system.YAML — so that no deny rule matches, and the IIS static file handler resolves and returns the underlying file.

This is the IIS sibling of CVE-2026-62673 (GHSA-vwg3-w8w3-pc79). That fix added [NC] to the Apache .htaccess rules and the ui flag to system/router.php, and the shipped nginx.conf (~*) and Caddyfile ((?i)) were already case-insensitive — but the IIS web.config was never updated.

From getgrav/grav's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
GravServers and applications · github:getgrav/grav
  • Every version before 1.7.53.8
  • From 1.8.0-beta.1 before 2.0.25

About Grav

free software content management system written in PHP

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
1,748Packagist, 15 Nov 2026
Total downloads (Packagist)
92,444Packagist, 15 Nov 2026
GitHub stars
15,725GitHub, 15 Nov 2026
Forks
1,430GitHub, 15 Nov 2026
Latest release
2.2.29GitHub, 15 Nov 2026
Released
11 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
2 Aug 2014GitHub

References