CVE-2026-42608
Description
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.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-05-11 |
Timeline
- 2026-05-05GitHub advisory published (GHSA-hmcx-ch82-3fv2)6 days before publication
- 2026-05-11Published by the CNA15:02 UTC
- 2026-05-11CISA SSVC decision recordedsame day
Exploit and advisory records
Nuclei templates:
- CVE-2026-42608: Grav CMS < 1.7.53.4 - Unauthenticated Path Traversal via FormFlash
GitHub advisory GHSA-hmcx-ch82-3fv2, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist getgrav/grav | before 2.0.0-beta.2 | 2.0.0-beta.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| getgrav grav | before 2.0.0fixed in 2.0.02.0.0no fix listed | 2.0.0not listed |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42608'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42608'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42608'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42608'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).