Skip to main content
← All vulnerabilities
CVE-2026-62230GHSA-VWG3-W8W3-PC79

Grav < 2.0.4 File Access Bypass via Case Variation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • getgrav grav

    fixed in 2.0.4

  • getgrav/gravPackagist

    fixed in 2.0.4

References 2

GitHub · getgrav/grav

vulncheck.com