Skip to content
OpenAdvisories
High · 8.1 CVE-2026-61873 EUVD-2026-44621GHSA-m8gp-46r6-rc3f

Grav before 9.1.8 Arbitrary File Write via Twig-Processed Filename

Published Jul 15, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
getgrav grav < 9.1.8 9.1.8

References