Summary
CVE-2026-62230 is a high-severity sensitive file disclosure vulnerability affecting Grav CMS versions prior to 2.0.4. The default .htaccess configuration shipped with Grav omits the Apache [NC] (No Case) flag from file-blocking rules, making extension matching case-sensitive. On case-insensitive filesystems, an unauthenticated remote attacker can bypass these protections by requesting sensitive files with uppercase or mixed-case extensions, potentially exposing credentials, API keys, and other secrets stored in Grav configuration files. The CVSS 4.0 score is 8.7 (HIGH).
Technical details
- Root cause:
RewriteRuledirectives in Grav’s default.htaccess(and the referencewebserver-configs/htaccess.txt) block direct HTTP access to sensitive file types —.yaml,.php,.json,.twig, and others — but omit the[NC](No Case) flag, causing extension matching to be case-sensitive (CWE-178: Improper Handling of Case Sensitivity). - Trigger conditions: The bypass is exploitable only on case-insensitive filesystems: Windows/NTFS, macOS/HFS+, or Docker volume mounts originating from either of those operating systems. Linux deployments on case-sensitive filesystems (e.g., ext4) are not affected.
- Attack vector: An unauthenticated remote attacker sends a crafted HTTP request for a sensitive file using uppercase or mixed-case extensions — for example,
/user/accounts/admin.YAMLorconfig.PHP— causing Apache to serve the raw file contents rather than deny access. - Impact: Full confidentiality compromise of sensitive configuration data. Grav configuration files commonly store API keys, SMTP passwords, and admin credentials. PHP source files may also be downloaded as plain text rather than executed, exposing application logic.
Affected software
- Grav CMS (
getgrav/grav) — all versions prior to 2.0.4
Severity
- CVSS v4.0: 8.7 (HIGH) —
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 - CVSS v3.1: 7.5 (HIGH) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade Grav CMS to version 2.0.4 or later. The 2.0.4 release adds the
[NC]flag to the affectedRewriteRuledirectives in.htaccessandwebserver-configs/htaccess.txt, enforcing case-insensitive extension matching and closing the bypass. - If immediate patching is not possible: Manually add the
[NC]flag to the file-extension blockingRewriteRuleentries in your.htaccessfile. Additionally, restrict public network access to the Grav server at the perimeter level where operationally feasible, and audit exposed configuration directories (/user/accounts/,/user/config/,/user/data/) for signs of unauthorized access.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

