CVE-2026-62230
Grav < 2.0.4 File Access Bypass via Case Variation
Description
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.
INFO
Published Date :
July 17, 2026, 2:18 a.m.
Last Modified :
Oct. 24, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update Grav to the latest version.
- Verify .htaccess rules are case-insensitive.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-62230.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-62230 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-62230
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-62230 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-62230 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Added Translation Title: grav de getgrav, Description: Grav anterior a la versión 2.0.4 incluye un archivo .htaccess predeterminado (y el archivo de referencia webserver-configs/htaccess.txt) cuyas reglas que bloquean el acceso a tipos de archivos sensibles (.yaml, .php, .json, etc.) carecen de la bandera [NC], lo que hace que la coincidencia de la extensión distinga entre mayúsculas y minúsculas. En sistemas de archivos que no distinguen entre mayúsculas y minúsculas (Windows/NTFS, macOS/HFS+, o montajes de volumen de Docker), un atacante no autenticado puede solicitar estos archivos con extensiones en mayúsculas o con una combinación de mayúsculas y minúsculas (por ejemplo, .YAML, .PHP) para eludir las restricciones y leer archivos de configuración sensibles que pueden contener claves de API y credenciales. -
CVE Modified by [email protected]
Oct. 08, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/62xxx/CVE-2026-62230.json">CVE-2026-62230</a> Added Reference https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79 Added Reference https://www.vulncheck.com/advisories/grav-file-access-bypass-via-case-variation Removed Reference https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79 Removed Reference https://www.vulncheck.com/advisories/grav-file-access-bypass-via-case-variation -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 08, 2026
Action Type Old Value New Value Added Reference https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79 Removed Reference https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 17, 2026
Action Type Old Value New Value Added Reference https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79 Added SSVC {'id': 'CVE-2026-62230', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-17T14:08:46.289266Z'} -
New CVE Received by [email protected]
Jul. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/getgrav/grav', 'vendor': 'getgrav', 'product': 'grav', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '2.0.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '2.0.4', 'versionType': 'semver'}], 'defaultStatus': 'unaffected'}] Added Description 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. Added CVSS V4.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 Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Added CWE CWE-178 Added Reference https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79 Added Reference https://www.vulncheck.com/advisories/grav-file-access-bypass-via-case-variation