Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Grav site on IIS/NTFS
-
DeliveryRequest denied path with varied case (e.g. /user/CONFIG/...json)
-
ExploitCase-sensitive deny rule fails to match
-
ExecutionIIS static handler returns underlying file
-
ImpactHarvest config secrets or password hashes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
|
| Exploitation Conditions | Exploitation requires that the Grav instance (before 2.0.25) is served by Microsoft IIS using the bundled webserver-configs/web.config, running over a case-insensitive filesystem such as NTFS; the lighttpd.conf sample carries the same gap but is lower risk since lighttpd typically runs on case-sensitive filesystems. No authentication or user interaction is needed. Deployments served by Apache (.htaccess), nginx, Caddy, or the PHP built-in server are NOT affected. A further limit: whether a bypassed file is actually returned depends on MIME registration - .json is served by default, while .yaml/.yml return HTTP 404.3 on stock IIS unless a YAML MIME mapping has been added. Note that upgrading alone is insufficient: the .htaccess installer heal does not rewrite web.config or lighttpd.conf, so operators must manually re-copy the corrected sample files. |
| Impact | This is a genuine but sharply scoped issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) correctly captures unauthenticated network exploitation with confidentiality-only impact and no integrity/availability effect, yielding the vendor's 8.7. However, the raw score materially overstates real-world risk because exploitation is gated on deployment factors the CVSS base score does not reflect: the flaw only affects Grav instances served by IIS (or, at lower risk, lighttpd) over a case-insensitive filesystem, whereas Grav most commonly runs on Apache/.htaccess or nginx - both explicitly unaffected. There is no EPSS score, no CISA KEV listing, and no public exploit code provided in the intelligence, so all three exploitation signals are absent - this is a low-real-risk-despite-high-CVSS case rather than an urgent priority. The technique is trivial (vary the case of a path/extension), and confidentiality impact is high where it applies (config secrets, account password hashes), but the IIS-only precondition plus the MIME-registration limit (.json is served by default, but .yaml/.yml return 404.3 on stock IIS unless a YAML MIME mapping was added) meaningfully narrows the exploitable population and the recoverable data. Note also the CVSS 4.0 vector describes AC:L, but the deployment gating (IIS + case-insensitive NTFS + MIME) is a real limiting factor outside attacker control that I reflect as AC:H in my own assessment. |
| Exploit ScenarioDerived | An unauthenticated remote attacker probes a Grav site hosted on IIS/NTFS and requests a normally-denied path with altered case, e.g. GET /user/CONFIG/system.YAML or a mixed-case path to a .json config file. Because the bundled web.config deny rules match case-sensitively (ignoreCase="false"), no rule fires and the IIS static file handler resolves and returns the underlying file, exposing configuration secrets or account password hashes. No public exploit code was identified at time of analysis, though the technique is simple to reproduce by hand. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 26, 2026
Information disclosure in Grav CMS before 2.0.25 lets unauthenticated remote attackers read sensitive files - configuration secrets and account password hashes - when the site is served by Microsoft IIS using the bundled webserver-configs/web.config over a case-insensitive filesystem such as NTFS, simply by varying the case of a folder name or extension (for example GET /user/CONFIG/system.YAML) so that none of the case-sensitive URL Rewrite deny rules match. The practical blast radius is narrower than the raw path-bypass suggests: whether a bypassed file is actually returned depends on MIME registration, with .json served by default while .yaml/.yml return HTTP 404.3 on a stock IIS unless a YAML MIME mapping has been added; the equivalent gap in webserver-configs/lighttpd.conf is lower risk because lighttpd typically runs on case-sensitive filesystems, and deployments behind Apache (.htaccess), nginx, Caddy, or the PHP built-in server are not affected. No public exploit identified at time of analysis, and while the vendor-released patch is Grav 2.0.25, upgrading alone is insufficient because the .htaccess installer heal does not rewrite web.config or lighttpd.conf, so operators must manually re-copy the corrected sample files.
RemediationAI
Vendor-released patch: upgrade to Grav 2.0.25, the version in which the case-sensitivity defect in the sample web server configurations is corrected. Critically, upgrading is not by itself sufficient: the .htaccess installer heal does not touch web.config or lighttpd.conf, so operators must manually re-copy the corrected sample files from the 2.0.25 release into their live IIS and lighttpd configurations (or hand-edit the live files) after the upgrade, then verify that every deny rule no longer carries ignoreCase="false". Where an immediate upgrade is not possible, the fastest compensating control is to remove ignoreCase="false" from the <match> elements in webserver-configs/web.config - or set them to ignoreCase="true" - which restores IIS's default case-insensitive matching, at the cost of the deny rules now also blocking legitimate mixed-case paths that previously slipped through. A defence-in-depth alternative is to re-implement the blocks with IIS <requestFiltering> hiddenSegments/denyUrlSequences entries, which are case-insensitive by default and do not depend on the URL Rewrite module, though these apply site-wide and should be regression-tested against normal application routing. Because disclosure on stock IIS is gated by MIME registration, removing or restricting the .json MIME mapping for the affected directories (and declining to add any .yaml/.yml MIME mapping) prevents the highest-value files from being served, at the risk of breaking legitimate JSON endpoints. Finally, if the deployment does not actually require IIS, migrating to the Apache, nginx, or Caddy configuration profiles eliminates this class of issue entirely, since those sample configs are unaffected. Guidance: https://github.com/getgrav/grav/security/advisories/GHSA-pg8v-xw58-frq8 and https://www.vulncheck.com/advisories/grav-before-2.0.25-sensitive-file-disclosure-via-case-variation-bypass.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-178 (Improper Handling of Case Sensitivity). Grav ships sample web server configurations whose access-control deny rules are expressed as URL Rewrite <match> elements in webserver-configs/web.config for IIS, and each of them (user_sensitive_folders, user_accounts, user_data, user_error_redirect, user_pages, system, vendor, ignore_folders) explicitly sets ignoreCase="false", overriding the IIS URL Rewrite default of ignoreCase="true". Because these are rewrite matches and not <requestFiltering> elements, there is no case-insensitive fallback path in IIS's request-filtering layer, so the deny rules never fire on a case-varied URL. On IIS running over case-insensitive NTFS, the static file handler then resolves the case-varied path to the real on-disk file and returns it - meaning /user/CONFIG/system.YAML, /SYSTEM/config/system.yaml and similar variants all reach the same content. Two factors gate real impact: the filesystem must be case-insensitive (NTFS qualifies, typical Linux filesystems do not), and the returned file must map to a registered MIME type, so .json is disclosed by default while .yaml/.yml typically yield HTTP 404.3 unless an operator added a YAML MIME mapping. The same flawed pattern appears in the bundled webserver-configs/lighttpd.conf, where the user/(config|env), directory, script-extension, root-file and dotfile rules lack the (?i) case-insensitive modifier; this is materially lower risk because lighttpd is normally deployed on case-sensitive filesystems. Apache (.htaccess), nginx, Caddy and the PHP built-in server configurations do not carry this defect. The affected component is tracked as cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* (EUVD lists grav 0 through <2.0.25).
Know when Grav gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated network read (PR:N, C:H, I/A:N), but AC:H reflects the IIS + case-insensitive-filesystem + MIME-registration preconditions outside the attacker's control.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Grav before 2.0.25 ships web server configuration samples whose access-control deny rules are matched case-sensitively. In webserver-configs/web.config (IIS), every deny rule (user_sensitive_folders, user_accounts, user_data, user_error_redirect, user_pages, system, vendor, ignore_folders) sets ignoreCase="false" on its URL Rewrite <match> element, overriding the IIS default of ignoreCase="true"; because these are rewrite matches rather than <requestFiltering> elements, there is no case-insensitive fallback. On IIS running over case-insensitive NTFS, an unauthenticated remote attacker can vary the case of a folder name 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, disclosing sensitive data such as configuration secrets or account password hashes. Whether a bypassed file is actually returned depends on MIME registration: .json is served by default, while .yaml/.yml return HTTP 404.3 on a stock IIS unless a YAML MIME mapping has been added. The same class of gap exists in the bundled webserver-configs/lighttpd.conf, whose user/(config|env), directory, script-extension, root-file and dotfile rules lack the (?i) modifier, though it is lower risk because lighttpd typically runs on case-sensitive filesystems. Deployments served by Apache (.htaccess), nginx, Caddy, or the PHP built-in server are not affected. The issue is fixed in 2.0.25; because the .htaccess installer heal does not touch web.config or lighttpd.conf, operators must re-copy the corrected sample files after upgrading.
Articles & Coverage 2
Technical POC Analysis
CWE-178 (Improper Handling of Case Sensitivity).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Organizations running the Grav CMS on Microsoft IIS with the vendor's bundled web.config are exposed to information disclosure rated HIGH (CVSS 8.7), where remote attackers can retrieve configuration secrets and account password hashes by simply varying the case of a filename or folder in a URL. Because the leaked material includes credential hashes and application secrets, the practical risk extends well beyond a single website: exposed secrets could enable lateral movement into connected systems and force costly credential rotation across the estate. Leadership should care because the exposure is limited to a specific, identifiable hosting configuration (IIS on case-insensitive filesystems such as NTFS), making a targeted inventory and upgrade an achievable, bounded remediation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol
Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug
Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a
GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv
Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages
Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri
Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm
Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past
Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S
Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary
EUVD-2026-87763
GHSA-cxcx-pfx3-w4vx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB