Skip to main content

Grav CMS EUVDEUVD-2026-45118

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

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Grav on case-insensitive host
  2. Delivery
    Request config file with uppercase extension
  3. Exploit
    Bypass case-sensitive .htaccess deny rule
  4. Execution
    Read exposed YAML/JSON/PHP config
  5. Impact
    Harvest API keys and credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
Exploitation Conditions

Exploitation requires the target to be a Grav instance before 2.0.4 served by Apache using the bundled default .htaccess, AND hosted on a case-insensitive filesystem - specifically Windows/NTFS, macOS/HFS+, or a Docker volume/bind mount. Given those conditions, no authentication or user interaction is needed (PR:N/UI:N): the attacker simply requests a sensitive file (e.g., a .yaml/.php/.json config) using an uppercase or mixed-case extension such as .YAML or .PHP. The primary limiting factor is the filesystem: instances on case-sensitive Linux/ext4/xfs storage are not exploitable because the uppercase path does not resolve to the real file. Secondary limits are the requirement that Apache (with .htaccess honored, i.e. AllowOverride enabled) is the server and that the attacker knows or guesses valid config file paths.

Impact

This is a credible, real-world information-disclosure risk rather than a paper-high score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) yields 8.7 and reflects an unauthenticated, network-reachable, low-complexity read of high-value data - consistent with the description. The one important caveat the raw score understates is the environmental precondition: exploitation only works on case-insensitive filesystems (Windows, macOS, or Docker bind/volume mounts), so Linux/ext4 production deployments with case-sensitive storage are not affected - this makes real-world exploitability conditional rather than universal. No EPSS score, SSVC decision, or POC was supplied; the flaw is not in CISA KEV, so there is no public exploit identified at time of analysis and no evidence of active exploitation. Impact is confidentiality-only (VI:N/VA:N) - no integrity or availability effect - but disclosed API keys and credentials can enable follow-on compromise, so priority should be treated as high for exposed Windows/macOS/Docker instances and lower for case-sensitive Linux hosts.

Exploit ScenarioDerived

An unauthenticated attacker enumerates a Grav site running on Windows, macOS, or a Docker volume mount and requests a known config path with an uppercase extension, e.g. GET /user/config/system.YAML or /user/accounts/admin.YAML. Because the deny rule matches only lowercase, Apache serves the file and the attacker harvests API keys and credentials. No POC was provided, but the attack requires only a single crafted HTTP request (AV:N/AC:L/PR:N) and standard tooling.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 17, 2026

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.

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.

Affected VersionsENISA

grav 0 <2.0.4

Affected Packages

composer getgrav/grav fix: 2.0.4
euvd grav fix: 2.0.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Grav gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
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
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 17, 2026 - 02:32 EUVD
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.

Executive ViewAI

Why It Matters

Grav CMS instances on case-insensitive filesystems (Windows, macOS, Docker) are exposed to credential theft through a configuration file disclosure vulnerability in versions before 2.0.4. Unauthenticated attackers can access API keys and sensitive configuration data, creating risk of account compromise and lateral movement. Immediate mitigation is required as no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) Add Apache [NC] flag to .htaccess extension-matching rules for case-insensitive blocking; (2) Deploy WAF rules blocking uppercase and mixed-case variants of sensitive extensions (.YAML, .YML, .PHP, .ENV); (3) Move sensitive configuration files outside the web-accessible directory; (4) Restrict read permissions on config directories to application-only accounts; (5) Enable and monitor web server access logs for requests to configuration files with case variants; (6) Disable directory listing and implement strict file type restrictions at the web server level.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular open-source flat-file CMS, common but far below WordPress scale
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Grav CMS Access Control and Injection Vulnerabilities

View all 4

More in Grav

View all
CVE-2025-66294 HIGH POC
8.7 Dec 01

Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol

CVE-2025-66301 HIGH POC
8.6 Dec 01

Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2026-65008 CRITICAL POC
9.3 Jul 21

Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages

CVE-2026-75827 CRITICAL POC
9.3 Aug 18

Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri

CVE-2026-75837 CRITICAL POC
9.3 Aug 18

Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm

CVE-2026-75828 CRITICAL POC
9.3 Aug 18

Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past

CVE-2025-66844 CRITICAL POC
9.1 Dec 15

Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make

CVE-2025-66299 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S

CVE-2026-72819 HIGH POC
8.7 Aug 14

Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary

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