Skip to main content

Grav CMS CVE-2026-62230

| EUVDEUVD-2026-45118 HIGH
Improper Handling of Case Sensitivity (CWE-178)
2026-07-17 VulnCheck GHSA-5mv9-76r9-rprq
8.7
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.5 HIGH

Unauthenticated single-request read (PR:N/UI:N); AC:L retained because case-insensitive Windows/macOS/Docker hosts are common; confidentiality-only impact so I:N/A:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 17, 2026 - 02:32 EUVD
Analysis Generated
Jul 17, 2026 - 00:55 vuln.today
CVE Published
Jul 17, 2026 - 00:07 cve.org
HIGH 8.7

DescriptionCVE.org

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.

AnalysisAI

Sensitive configuration file disclosure in Grav CMS before 2.0.4 lets unauthenticated remote attackers bypass the bundled .htaccess protections by requesting blocked file types with uppercase or mixed-case extensions (e.g., .YAML, .PHP). The shipped rules omit the Apache [NC] flag, so extension matching is case-sensitive and fails to block case variants on case-insensitive filesystems (Windows/NTFS, macOS/HFS+, Docker volume mounts), exposing files that may hold API keys and credentials. There is no public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

Technical ContextAI

Grav is a PHP-based flat-file CMS that stores configuration and content as .yaml, .json, and .php files directly on disk rather than in a database, making filesystem-level access control critical. The protection relies on an Apache mod_rewrite/mod_authz ruleset in the default .htaccess (mirrored in webserver-configs/htaccess.txt) that denies web requests to sensitive extensions. Per CWE-178 (Improper Handling of Case Sensitivity), the regex/extension patterns are evaluated case-sensitively because the [NC] (no-case) flag is absent; Apache's matching is literal, but the underlying filesystem resolves .YAML and .yaml to the same file. On case-insensitive filesystems the requested uppercase path still returns the real file while sidestepping the lowercase-only deny rule. The CPE cpe:2.3:a:getgrav:grav:*:*:*:* confirms the getgrav/grav application is the sole affected component.

RemediationAI

Vendor-released patch: 2.0.4 - upgrade Grav to 2.0.4 or later, which corrects the .htaccess rules to include the [NC] flag for case-insensitive extension matching. If you customized or replaced the default .htaccess, manually add the [NC] flag to the deny rules for sensitive extensions (.yaml, .php, .json, etc.) using the corrected webserver-configs/htaccess.txt as the reference, since a simple version bump will not overwrite an operator-edited config. As a compensating control until patched, front the site with a reverse proxy or WAF rule that blocks requests to those extensions case-insensitively, or migrate the deployment to a case-sensitive Linux filesystem (avoiding Docker volume mounts that reintroduce case-insensitivity) - note the WAF approach requires careful pattern coverage of all sensitive extensions and the filesystem migration may not be feasible for existing Windows/macOS hosts. Follow the vendor advisory at https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79. If any config files were web-accessible, rotate any exposed API keys and credentials.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-62230 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy