What’s Vulnerable › Vulnerabilities
CVE-2026-62230: Grav < 2.0.4 File Access Bypass via Case Variation
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-17 · updated 2026-10-24
- Weakness: CWE-178
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.
Affected products
- getgrav grav: before 2.0.4 — fixed in 2.0.4
How to fix
Upgrade to a fixed version: getgrav grav 2.0.4. Check the vendor advisory for mitigations.
References
- https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79
- https://www.vulncheck.com/advisories/grav-file-access-bypass-via-case-variation
- https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79
Get alerted when CVE-2026-62230 or the next vulnerability affects your stack