Skip to content
OpenAdvisories
High · 7.5 CVE-2026-62230 CVE-2026-62673EUVD-2026-45118GHSA-5mv9-76r9-rprq

Grav < 2.0.4 File Access Bypass via Case Variation

Published Jul 17, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
getgrav grav < 2.0.4 2.0.4

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist getgrav/grav < 2.0.4 2.0.4 GHSA-vwg3-w8w3-pc79

References