CVE-2026-61873

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductGrav
PublishedJul 15, 2026
First seenJul 15, 2026
Weakness typeCWE-73CWE-73

How to fix

Update
  • getgrav grav9.1.8 or later

Affected products

ProductAffected versionsFixed in
getgrav gravv < 9.1.89.1.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-61873 · Grav · Dark Radar