Grav CVE-2026-42608 surface
Path traversal surface in Grav FormFlash.
| Reporter | Title | Published | Views | Family All 18 |
|---|---|---|---|---|
| CVE-2026-42608 | 27 Apr 202612:17 | – | circl | |
| Grav path traversal vulnerability | 11 May 202600:00 | – | cnnvd | |
| CVE-2026-42608 | 11 May 202615:02 | – | cve | |
| CVE-2026-42608 Grav: Unauthenticated Path Traversal & Arbitrary File Write in FormFlash component. | 11 May 202615:02 | – | cvelist | |
| Grav has Unauthenticated Path Traversal & Arbitrary File Write in its FormFlash component | 5 May 202621:34 | – | github | |
| Grav CVE-2026-42608 FormFlash traversal | 2 Dec 202607:18 | – | kittysploit | |
| CVE-2026-42608 | 11 May 202615:02 | – | mend | |
| Grav CMS < 1.7.53.4 - Unauthenticated Path Traversal via FormFlash | 4 Dec 202602:07 | – | nuclei | |
| CVE-2026-42608 | 11 May 202616:17 | – | nvd | |
| CVE-2026-42608 Grav: Unauthenticated Path Traversal & Arbitrary File Write in FormFlash component. | 11 May 202615:02 | – | osv_cve |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Grav FormFlash path traversal surface (CVE-2026-42608)."""
from __future__ import annotations
import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client
_CONTACT_PATHS = ("", "contact", "contact-us", "contacts", "en/contact")
class Module(Scanner, Http_client):
__info__ = {
"name": "Grav CVE-2026-42608 surface",
"description": (
"Finds Grav POST form with form-nonce. "
"FormFlash traversal write is in the exploit module."
),
"author": ["KittySploit Team"],
"severity": "high",
"cve": "CVE-2026-42608",
"references": ["https://nvd.nist.gov/vuln/detail/CVE-2026-42608"],
"tags": ["web", "scanner", "grav", "traversal", "cve-2026-42608", "kev"],
"agent": {
"risk": "active",
"effects": ["network_probe"],
"expected_requests": 6,
"reversible": True,
"approval_required": False,
"produces": ["tech_hints"],
"chain": {
"suggested_followups": [
"exploits/multi/http/grav_cve_2026_42608_formflash_write",
],
},
},
}
def _find_form(self, html: str):
if not html:
return None
nonce_m = re.search(r'name="form-nonce"[^>]*value="([a-f0-9]{32})"', html)
name_m = re.search(r'name="__form-name__"[^>]*value="([^"]+)"', html)
action_m = re.search(
r'action="(/[^"]*)"[^>]*method="(?i:post)"', html, re.I
)
if nonce_m and name_m and action_m:
return {
"nonce": nonce_m.group(1),
"formname": name_m.group(1),
"action": action_m.group(1),
}
return None
def run(self):
for sub in _CONTACT_PATHS:
path = f"/{sub}" if sub else "/"
r = self.http_request("GET", path, allow_redirects=True)
if not r or int(r.status_code or 0) != 200:
continue
form = self._find_form(r.text or "")
if not form:
continue
self.set_info(
severity="high",
cve="CVE-2026-42608",
reason="Grav POST form with FormFlash nonce",
path=path,
confidence="medium",
)
return True
home = self.http_request("GET", "/", allow_redirects=False)
if home and "grav" in (home.text or "").lower():
self.set_info(
severity="medium",
cve="CVE-2026-42608",
reason="Grav CMS without exploitable contact form",
confidence="low",
)
return True
return FalseData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
02 Dec 2026 07:18Current
6Medium risk
Vulners AI Score6
CVSS 3.19.1
CVSS 49.3
EPSS0.04991
SSVC