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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-17T00:07:06.995Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-vwg3-w8w3-pc79
- Related: CVE-2026-62673
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 2.0.4 (not affected: 2.0.4)
- getgrav/grav (Packagist): before 2.0.4

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-vwg3-w8w3-pc79> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/grav-file-access-bypass-via-case-variation> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62673> (advisory)
- <https://github.com/getgrav/grav/commit/8c9d1e7b6fd66ecea80a4bc3783fd41d36e22fb1> (web)
- <https://github.com/getgrav/grav> (package)
- <https://github.com/getgrav/grav/releases/tag/2.0.4> (web)

## Sources

- CVE List: [CVE-2026-62230](https://www.cve.org/CVERecord?id=CVE-2026-62230), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-vwg3-w8w3-pc79](https://github.com/advisories/GHSA-vwg3-w8w3-pc79), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-62230](https://nvd.nist.gov/vuln/detail/CVE-2026-62230), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-62230 · Whole record: https://cve.day/CVE-2026-62230.json · Rebuilt by cve.day 2026-11-25T22:59:28.462Z
