Vulnerability in Getgrav Grav
CVE-2026-61873
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.
EPSS: 0.005 (38.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
Affected products
- Getgrav Grav — versions 0, 9.1.8
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-q532-mvx7-42qg) (vendor-advisory)
- VulnCheck Advisory: Grav before 9.1.8 Arbitrary File Write via Twig-Processed Filename (third-party-advisory)
Frequently asked questions
- What is CVE-2026-61873?
- CVE-2026-61873 is a high-severity vulnerability in Getgrav Grav, classified under External Control of File Name or Path. CVSS score: 8.1/10. Published 2026-07-15.
- How severe is CVE-2026-61873?
- High severity. CVSS v3 base score is 8.1 out of 10.