PoC Monitor
← All CVEs
CVE-2026-61873published 15 Jul 2026 11:25 UTCData: JSON · API

Grav

Grav before 9.1.8 Arbitrary File Write via Twig-Processed Filename

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CNA · CWE-73
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

getgrav grav
  • < 9.1.8

Fixed in 9.1.8

Mitigation

Upgrade grav to 9.1.8 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published15 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.