Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42608: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getgrav grav

0
High
VulnerabilityCVE-2026-42608cvecve-2026-42608cwe-22
Published: Mon May 11 2026 (05/11/2026, 15:02:15 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/11/2026, 15:54:16 UTC

Technical Analysis

Grav versions before 2.0.0-beta.2 contain a CWE-22 path traversal vulnerability in the FormFlash core component. By manipulating the __form-flash-id POST parameter (which corresponds to session_id), an unauthenticated attacker can traverse directories on the server filesystem. This traversal enables the attacker to create arbitrary directories and write files (index.yaml) with attacker-controlled content. Such unauthorized file system modifications can alter application behavior and compromise data integrity. The vulnerability has a CVSS 4.0 score of 8.8 (high severity) and is resolved in version 2.0.0-beta.2.

Potential Impact

Exploitation allows unauthenticated attackers to traverse the filesystem and write arbitrary files, potentially modifying application behavior and causing data integrity issues or service disruption. This can undermine the security and stability of affected Grav installations.

Mitigation Recommendations

Upgrade Grav to version 2.0.0-beta.2 or later, where this vulnerability is fixed. Since the vendor advisory confirms the fix in this version, applying this update fully mitigates the issue. No other mitigation steps are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-29T00:31:15.725Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a01f78ecbff5d86102f2032

Added to database: 5/11/2026, 3:36:46 PM

Last enriched: 5/11/2026, 3:54:16 PM

Last updated: 5/12/2026, 3:48:51 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses