Back to overview

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

CVE ID
CVE-2026-62230
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-07-13 16:40 UTC
Published
2026-07-17 00:07 UTC
Last updated
2026-07-17 00:07 UTC
Primary CWE
CWE-178
Improper Handling of Case Sensitivity
Vendor / Product
getgrav / grav
Sources
cve.org  ·  NVD

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)
VendorProductPlatformVersions
getgrav grav 0 < 2.0.4, 2.0.4
Weakness (CWE)
CWESourceDescription
CWE-178 cna Improper Handling of Case Sensitivity
CVSS scores (2)
ScoreSeverityVersionSourceVector
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)
Back to overview