CVE Catalog

CVE-2026-62230

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

20th percentile - higher than 20% of all known CVEs

Summary

Grav before version 2.0.4 ships a default .htaccess file 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.

Risk Assessment

The risk involves potential leakage of sensitive configuration data such as API keys and passwords, which could lead to unauthorized access to systems and external services.

Recommendation

Immediately update Grav to version 2.0.4 or later, which includes fixed .htaccess rules with the [NC] flag. If an update is not possible, manually add the [NC] flag to the blocking rules in the .htaccess file.

Other vulnerabilities in Grav

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS