CVE-2026-72819 Grav CMS before 2.0.13 Remote Code Execution via ZIP Upload
Authenticated attackers can execute arbitrary code by uploading a malicious ZIP file to bypass validation in the Flex Objects plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-72819?
CVE-2026-72819 is a high-severity vulnerability in getgrav grav, published on 14 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-72819?
2 open source packages ship an affected version, including getgrav/grav.
| Package | Affected | Fixed in |
|---|---|---|
getgrav/grav Packagist | All versions | 2.0.13 |
getgrav/grav Packagist | All versions | 2.0.13 |
How do I fix CVE-2026-72819?
Upgrade getgrav/grav to 2.0.13 or later.
Is CVE-2026-72819 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72819 exists.
Sources
Also known as GHSA-r94f-hx44-8jqf.