Skip to main content
VulnerabilityPublished Updated

CVE-2026-61873: getgrav grav · External Control of File Name or Path

Affects getgrav gravSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.2 High : upgrade to 9.1.8 soon.

Data as of 28 Nov 2026, 18:37 UTC

CVSS 4.0 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.1.8
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.

What to do

Upgrade getgrav grav to 9.1.8.

Affected software

ProductAffectedFixed in
getgravgravAffected
  • <9.1.8
Fixed in
  • 9.1.8

AI-suggested

If you cannot patch yet, restrict access to the Form plugin and validate or sanitize inputs to prevent path traversal and template injection. Monitor for suspicious file writes and consider disabling the vulnerable functionality if feasible.

Description

Grav before 9.1.8 contains an arbitrary file write vulnerability in the Form plugin's process.save.filename parameter, which is validated against path traversal before Twig processing but never re-validated after rendering. Attackers can submit form data containing path traversal sequences that are processed through Twig templates, allowing them to write arbitrary files including PHP webshells to the web root or other sensitive directories.

References

Community reviews

Loading reviews…