Improper Handling of Case Sensitivity Affecting getgrav/grav package, versions <2.0.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-GETGRAVGRAV-19428016
  • published29 Aug 2026
  • disclosed19 Aug 2026
  • creditUnknown

Introduced: 19 Aug 2026

NewCVE-2026-62673  (opens in a new tab)
CWE-178  (opens in a new tab)

How to fix?

Upgrade getgrav/grav to version 2.0.4 or higher.

Overview

getgrav/grav is a Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS.

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity in the .htaccess process on case-insensitive filesystems due to the lack of case-insensitive matching for file extensions. An attacker can access sensitive configuration or source code files by requesting them with uppercase or mixed-case extensions over HTTP. This is only exploitable if the application is deployed on a case-insensitive filesystem such as Windows NTFS, macOS HFS+, or Docker volumes mounted from these systems.

Workaround

This vulnerability can be mitigated by manually adding the [NC] flag to the affected .htaccess rewrite rules to enforce case-insensitive extension matching.

CVSS Base Scores

version 4.0
version 3.1