Summary
CVE-2026-62673 is a case-sensitivity bypass vulnerability (CWE-178) in Grav CMS affecting all versions prior to 2.0.4. The shipped .htaccess security rules that block direct HTTP access to sensitive files (.yaml, .yml, .php, .json, .twig) are case-sensitive, allowing an unauthenticated remote attacker on a case-insensitive filesystem to bypass them using uppercase file extensions. The issue carries a CVSS score of 8.2 (High) due to the potential for unauthorized disclosure of credentials and configuration data.
Technical details
- Root cause: RewriteRules in Grav’s
.htaccess(and the referencewebserver-configs/htaccess.txt) that restrict access to sensitive file extensions omit Apache’s[NC](No Case) flag, making the extension matching case-sensitive. - Trigger conditions: The affected Grav instance must be running on a case-insensitive filesystem — Windows/NTFS, macOS/HFS+, or Linux deployments (e.g., Docker) with volumes mounted from a case-insensitive host.
- Attack vector: Network-based, unauthenticated, no user interaction required (AV:N/AC:L/PR:N/UI:N). An attacker simply requests a protected file using an uppercase or mixed-case extension (e.g.,
config.YAMLinstead ofconfig.yaml) to bypass the blocking rule. - Impact: High-confidentiality impact — unauthorized disclosure of sensitive files such as YAML configuration files, credentials, and security settings stored under Grav’s
user/andsystem/directories.
Affected software
- Grav (getgrav/grav) — all versions prior to 2.0.4
Severity
- CVSS v4.0 Score: 8.2 (High)
- Vector:
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: Upgrade Grav to version 2.0.4 or later, which adds the
[NC]flag to the affected RewriteRules. - If patching is not immediately possible: Manually add the
[NC]flag to the relevant RewriteRules in.htaccessto enforce case-insensitive matching, or deploy Grav only on case-sensitive filesystems (e.g., ext4 on native Linux) until the patch can be applied. Restrict direct web server access touser/andsystem/directories via additional server-level controls as a defense-in-depth measure.
How IONIX identifies potentially affected assets
IONIX matches the following signal against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Meta tag
generator:GravCMS

