CVE-2026-61873

HIGH CVSS 4.0: 7.2 EPSS 0.31%
Updated Oct 25, 2026
PHP
Parameter Value
CVSS 7.2 (HIGH)
Affected Versions before 9.1.8
Type CWE-73 (External Control of File Name or Path)
Vendor PHP
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0