Skip to main content
VulnerabilityPublished

CVE-2026-42845: getgrav grav-plugin-form · External Control of File Name or Path

Affects getgrav grav-plugin-formSource CVE Database V5

0
Compare

Public exploit available · CVSS 7.7 High : upgrade to 9.1.0 as a priority.

Data as of 15 Nov 2026, 20:25 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
getgravgrav-plugin-formAffected
  • <9.1.0
Fixed in
  • 9.1.0
GitHubgetgrav/grav-plugin-formpkg:github/getgrav/grav-plugin-formOther threatsAffected
  • <9.1.0
Fixed in
  • 9.1.0

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.

References

Community reviews

Loading reviews…