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.
CVE-2026-61873
Score 8.1 from GitHub Security Advisory (severity: HIGH) published 2026-07-15. a secondary CVSS source baseline 8.1; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.1
- EG Score
- 8.1(high)
- EPSS
- —
- KEV
- Not listed
Published
July 15, 2026
Last Modified
July 15, 2026
Advisory Details (2)
Auto-updated Jul 15, 2026Grav before 9.1.8 Arbitrary File Write via Twig-Processed Filename | Advisories | VulnCheck
https://www.vulncheck.com/advisories/grav-before-arbitrary-file-write-via-twig-processed-filenameArbitrary File Write via Twig-Processed Filename -TOCTOU in Form `process.save.filename` · Advisory · getgrav/grav · GitHub
https://github.com/getgrav/grav/security/advisories/GHSA-q532-mvx7-42qgVendor Advisories for CVE-2026-61873(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 4× in last 7d / 4× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-16 00:39 UTCEG score recompute
- 2026-07-16 00:39 UTCGHSA enrichment
- 2026-07-15 11:54 UTCEG score recompute
- 2026-07-15 11:54 UTCMITRE cvelistV5first tracked
Frequently asked(4)
What is CVE-2026-61873?
When was CVE-2026-61873 disclosed?
What is the CVSS score of CVE-2026-61873?
How do I remediate CVE-2026-61873?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-61873
Is Your Infrastructure Affected by CVE-2026-61873?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.