Skip to main content
Exploitation reportedNot in CISA KEV yetFix available

CVE-2026-42608

Exploitation reported by one source. First attested on 2026-09-27 by GCVE · previdian.

  • Published2026-05-11
  • Fixed in2.0.0-beta.2
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-1116:17CVE publishedNVD
  2. 2026-09-2717:12Listed as exploited by GCVEGCVE
  3. 2026-09-2717:12Exploitation first reportedGCVE
  4. 2026-11-1805:17Nuclei detection templateProjectDiscovery

Versions per branch

OSV · NVD
getgrav/grav
BranchAffectedFixed in
2.0< 2.0.0-beta.22.0.0-beta.2
Getgrav grav
BranchAffectedFixed in
2.0< 2.0.02.0.0
2.0= 2.0.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • getgrav grav
    Affected
    • = < 2.0.0-beta.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-05-11

Fix

  1. Update getgrav/grav to 2.0.0-beta.2

Advisories and patches

Detection

read 2026-11-18 10:51 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS 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/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
Published
2026-05-11
Last Modified
2026-10-26
NVD status
Analyzed
GitHub Advisory
GHSA-hmcx-ch82-3fv2

Frequently asked questions

What is CVE-2026-42608?

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.

Is CVE-2026-42608 actively exploited?

A proof-of-concept exploit exists for CVE-2026-42608, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-42608?

CVE-2026-42608 has a CVSS v3 base score of 9.1 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

Running getgrav/grav? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record