CVE-2026-62230
HIGH
7.5
CVSS 3.1
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.
Metadata
Severity & Metrics
7.5
HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| getgrav | grav | — | 0 < 2.0.4, 2.0.4 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-178 | cna | Improper Handling of Case Sensitivity |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 8.7 | HIGH | 4.0 | cna | 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 |
| 7.5 | HIGH | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (2)
- GitHub Security Advisory (GHSA-vwg3-w8w3-pc79) https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79
- VulnCheck Advisory: Grav < 2.0.4 File Access Bypass via Case Variation https://www.vulncheck.com/advisories/grav-file-access-bypass-via-case-variation