CVE-2026-42608
HIGH 8.8CVSS 4.0Grav has Unauthenticated Path Traversal & Arbitrary File Write in its FormFlash component
Grav is a file-based Web platform. Prior to 2.0.0-beta.2, there is a Path Traversal vulnerability within the FormFlash core component. By manipulating the session_id (passed as __form-flash-id in POST requests), an unauthenticated attacker can traverse the filesystem to create arbitrary directories and write an index.yaml file containing attacker-controlled data. This vulnerability can lead to unauthorized modification of application behavior, potential data integrity issues, and service disruption in production environments. This vulnerability is fixed in 2.0.0-beta.2.
- Published
- 11 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-hmcx-ch82-3fv2
- Sources
- NVDJSONOSV GHSA-hmcx-ch82-3fv2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.8 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:2.0.0:beta1:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Packagist | getgrav/grav | < 2.0.0-beta.2 | 2.0.0-beta.2 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-hmcx-ch82-3fv2 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42608 · ADVISORY
- https://github.com/getgrav/grav/commit/c66dfeb5ff679a1667678c6335eb9ff3255dfc47 · WEB
- https://github.com/getgrav/grav/commit/d904efc33e03ebb597afde8d3368b28cf0423632 · WEB
- https://github.com/getgrav/grav · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 May 2026)