{"id":"CVE-2026-42608","published":"2026-05-11T15:02:15Z","modified":"2026-05-11T16:07:54Z","title":"Grav: Unauthenticated Path Traversal & Arbitrary File Write in FormFlash component.","vendor":"getgrav","product":"grav","tier":"core","eol":null,"affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.0-beta.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-11T16:07:43.451071Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Grav, a file-based web platform from getgrav, contains a path traversal flaw in its FormFlash core component, where the session identifier supplied via the __form-flash-id POST parameter is not properly restricted to a safe directory. An unauthenticated remote attacker can exploit this without user interaction, over the network, and with low complexity by manipulating that identifier to create arbitrary directories and write an attacker-controlled index.yaml file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:14Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02266,"percentile":0.83468,"date":"2026-11-22","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-09-25","exploitedFirstSeen":"2026-09-25","ransomware":false,"evidence":[{"url":"https://www.bleepingcomputer.com/news/security/shinyhunters-hacked-clop-leak-site-using-grav-cms-path-traversal-flaw/","date":"2026-09-25"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":7,"pulses":[{"name":"⚡ Weekly Recap: $387M Crypto Hack, Citrix Exploits, AI Agents Go Off-Script, and More Threats","url":"https://otx.alienvault.com/pulse/6aba80109ba01396b303a647","created":"2026-09-28"},{"name":"Known_Cve | May 20, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a0c70e0012db9b5d3f1491b","created":"2026-05-19"},{"name":"Known_Cve | May 19, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a0b1fb13f83c21729d9156a","created":"2026-05-18"},{"name":"Known_Cve | May 18, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a09cd588d4c1cca2886f0d1","created":"2026-05-17"},{"name":"Known_Cve | May 17, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a087bdcf5d6f8e5402ce221","created":"2026-05-16"},{"name":"Known_Cve | May 14, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a0487a01a4a82d9d068e332","created":"2026-05-13"},{"name":"Known_Cve | May 13, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a033614c2ffc68639c724b6","created":"2026-05-12"}],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-hmcx-ch82-3fv2","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.0-beta.2"],"patched":["2.0.0-beta.2"],"from":["GHSA-hmcx-ch82-3fv2"],"provenance":"source"}],"advisories":[{"id":"GHSA-hmcx-ch82-3fv2","url":"https://github.com/advisories/GHSA-hmcx-ch82-3fv2","severity":"HIGH","ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.0-beta.2"],"patched":["2.0.0-beta.2"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-29066","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-29066","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2026-42608","name":"Grav CMS < 1.7.53.4 - Unauthenticated Path Traversal via FormFlash","severity":"high","path":"http/cves/2026/CVE-2026-42608.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42608.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-05-11","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-42608","provenance":"source"},{"date":"2026-09-25","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.bleepingcomputer.com/news/security/shinyhunters-hacked-clop-leak-site-using-grav-cms-path-traversal-flaw/","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":74.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 58 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":16.69,"detail":"percentile 0.8347"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.05,"detail":"7 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-getgrav-grav-cve-2025-66295","parents":[{"from":"CVE-2025-66295","to":"CVE-2026-42608","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["system/src/Grav/Common/Flex/Types/Users/UserObject.php"],"commits":["https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741","https://github.com/getgrav/grav/commit/c66dfeb5ff679a1667678c6335eb9ff3255dfc47","https://github.com/getgrav/grav/commit/d904efc33e03ebb597afde8d3368b28cf0423632"],"basis":"shared function","functions":["save"]}]},{"from":"CVE-2025-66296","to":"CVE-2026-42608","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["system/src/Grav/Common/Flex/Types/Users/UserObject.php"],"commits":["https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741","https://github.com/getgrav/grav/commit/c66dfeb5ff679a1667678c6335eb9ff3255dfc47","https://github.com/getgrav/grav/commit/d904efc33e03ebb597afde8d3368b28cf0423632"],"basis":"shared function","functions":["save"]}]}]}}