CVE-2026-42608 json
Grav: Unauthenticated Path Traversal & Arbitrary File Write in FormFlash component.
published 2026-05-05 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-29066 , GHSA-hmcx-ch82-3fv2
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist getgrav/grav 2.0.0-beta.2
- getgrav grav 2.0.0-beta.2
- getgrav grav_cms 2.0.0-beta.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/getgrav/grav/security/advisories/GHSA-hmcx-ch82-3fv2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | getgrav/grav | <2.0.0-beta.2 |
2.0.0-beta.2 |
Affected products
- getgrav grav
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/getgrav/grav/commit/c66dfeb5ff679a1667678c6335eb9ff3255dfc47
web
-
github.com
/getgrav/grav/commit/d904efc33e03ebb597afde8d3368b28cf0423632
web
-
github.com
/getgrav/grav/security/advisories/GHSA-hmcx-ch82-3fv2
exploit, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-42608
advisory
-
github.com
/getgrav/grav
package
Sources
- CVE List CVE-2026-42608
- GitHub Advisory GHSA-hmcx-ch82-3fv2
- NVD CVE-2026-42608
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.