CVE-2026-42845: getgrav grav-plugin-form · External Control of File Name or Path
Affects getgrav grav-plugin-formSource CVE Database V5
Public exploit available · CVSS 7.7 High : upgrade to 9.1.0 as a priority.
Data as of 15 Nov 2026, 20:25 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.1.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 11 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade grav-plugin-form and getgrav/grav-plugin-form to 9.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| getgravgrav-plugin-form | Affected
| Fixed in
|
GitHubgetgrav/grav-plugin-formpkg:github/getgrav/grav-plugin-formOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade grav-plugin-form to version 9.1.0 or later, where this vulnerability is fixed by proper filename sanitization and blocking of dangerous extensions. No other mitigations are indicated or required beyond applying this official fix.
Description
CVE-2026-42845 is a high-severity vulnerability in the Grav CMS form plugin (grav-plugin-form) versions prior to 9.1.0. It allows unauthenticated attackers to overwrite page content via crafted file uploads due to insufficient sanitization of uploaded filenames. This could enable an attacker to overwrite the page's own markdown (. md) files and potentially escalate privileges to super-admin through a subsequent save action. The vulnerability is fixed in version 9.1.0 by stripping path components from filenames and blocking critical page-content extensions regardless of configuration.