Description
Grav CMS before 2.0.13 contains a remote code execution vulnerability in the Flex Objects plugin settings validation that allows authenticated users to execute arbitrary code by uploading a ZIP file containing PHP code. Attackers can bypass routine name validation by using array notation instead of string notation, call the unZip routine with a malicious archive, and write PHP files to the web root for execution.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-94 — Improper Control of Generation of Code ('Code Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | 0 to <2.0.13; 2.0.13 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-r94f-hx44-8jqf (vendor-advisory)
- https://www.vulncheck.com/advisories/grav-cms-before-remote-code-execution-via-zip-upload (third-party-advisory)
Generated from the official CVE List on 15 Aug 2026 07:05 UTC.