CVE-2026-62230Published Jul 17, 2026 · Jul 17Updated Oct 28
Grav < 2.0.4 File Access Bypass via Case Variation
getgrav grav
High8.7Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| getgrav/grav Packagist |
|
|
Original description
Grav before 2.0.4 ships a default .htaccess (and reference webserver-configs/htaccess.txt) whose rules blocking access to sensitive file types (.yaml, .php, .json, etc.) lack the [NC] flag, making extension matching case-sensitive. On case-insensitive filesystems (Windows/NTFS, macOS/HFS+, or Docker volume mounts), an unauthenticated attacker can request these files with uppercase or mixed-case extensions (e.g., .YAML, .PHP) to bypass the restrictions and read sensitive configuration files that may contain API keys and credentials.
From the CVE record · VulnCheck
References
- github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79Exploit
- vulncheck.com/advisories/grav-file-access-bypass-via-case-variation
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62230.json
- nvd.nist.gov/vuln/detail/CVE-2026-62230
- github.com/getgrav/grav
- nvd.nist.gov/vuln/detail/CVE-2026-62673
- github.com/getgrav/grav/commit/8c9d1e7b6fd66ecea80a4bc3783fd41d36e22fb1
- github.com/getgrav/grav/releases/tag/2.0.4