CVE-2026-137305 Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination
HighCVSS 8.7
EPSS 0.67%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
Description
Grav Form plugin before 9.2.4 contains a code injection vulnerability that allows page authors to write uploads into Twig template folders by setting an unchecked file field destination in Form::uploadFiles(). Attackers can upload .txt or .svg files containing Twig and have them rendered as trusted templates outside the sandbox, executing code as the web server user.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav grav-plugin-form | < 9.2.4 | 9.2.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav-plugin-form | < 9.2.4 | 9.2.4 |
References
- GitHub Security Advisory (GHSA-4grx-p93p-25w8) third-party-advisory vendor-advisory
- github.com patch
- VulnCheck Advisory: Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination third-party-advisory
- ENISA EUVD EUVD-2026-136049 third-party-advisory