CVE Catalog

CVE-2026-61873

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

17th percentile - higher than 17% of all known CVEs

Summary

A vulnerability in Grav before version 9.1.8 allows arbitrary file write via the Form plugin's process.save.filename parameter. Validation before Twig processing is not re-applied after rendering, enabling attackers to bypass checks and write files, including PHP webshells, to the web root or other sensitive directories.

Risk Assessment

An attacker can gain full server control by uploading a PHP webshell, leading to application compromise, data theft, or further attacks on the infrastructure.

Recommendation

Immediately upgrade Grav to version 9.1.8 or later. If upgrading is not possible, temporarily disable the Form plugin or restrict access to forms.

Other vulnerabilities in Grav

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS