CVE-2026-62230 Grav < 2.0.4 File Access Bypass via Case Variation
HighCVSS 8.7
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- PHPDocker
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav | < 2.0.4 | 2.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | < 2.0.4 | 2.0.4 |
References
- GitHub Security Advisory (GHSA-vwg3-w8w3-pc79) exploit vendor-advisory
- VulnCheck Advisory: Grav < 2.0.4 File Access Bypass via Case Variation third-party-advisory
- ENISA EUVD EUVD-2026-45118 third-party-advisory