CVE-2026-62230: Grav < 2.0.4 File Access Bypass via Case Variation

Published Jul 17, 2026
·
Updated

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 Software

1 affected component
Grav Grav<2.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Grav to a version that resolves this vulnerability.

    Fixed in 2.0.4
  2. Configuration

    Update the default .htaccess / referenced webserver-configs/htaccess.txt rules to include the [NC] flag on the directives that block access to sensitive file types, since the current rules lack [NC] and therefore fail to match on case-insensitive filesystems.

    Grav default .htaccess (webserver-configs/htaccess.txt reference) case-insensitive extension matching flag = Add [NC] to the blocking rules for sensitive file extensions (e.g., .yaml, .php, .json) so matching is case-insensitive

Event History

Jul 17, 2026
CVE Published
via MITRE·12:07 AM
Data Sourced
via MITRE·12:07 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:18 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-62230?

The severity of CVE-2026-62230 is rated as high with a score of 8.7.

2

How do I fix CVE-2026-62230?

To fix CVE-2026-62230, you should update Grav to version 2.0.4 or later.

3

What kind of systems are affected by CVE-2026-62230?

CVE-2026-62230 affects Grav installations prior to version 2.0.4 on case-insensitive file systems.

4

What is the nature of the vulnerability in CVE-2026-62230?

CVE-2026-62230 is a file access bypass vulnerability that allows unauthorized access to sensitive files due to case-sensitive matching.

5

What files are at risk due to CVE-2026-62230?

Files such as .yaml, .php, and .json are at risk due to the lack of [NC] flag in the default .htaccess configuration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203