CVE-2026-72819: Improper Control of Generation of Code ('Code Injection') in getgrav grav
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.
AI Analysis
Technical Summary
CVE-2026-72819 is a remote code execution vulnerability affecting Grav CMS before version 2.0.13. The issue exists in the Flex Objects plugin's settings validation, where attackers with authentication can upload a ZIP archive containing malicious PHP code. By exploiting a bypass in the routine name validation using array notation, the attacker can invoke the unZip routine to extract and write PHP files to the web root, enabling execution of arbitrary code on the server.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary PHP code on the affected server, potentially leading to full system compromise depending on the server configuration and privileges of the web server process.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to prevent uploading of ZIP files or disable the vulnerable Flex Objects plugin if possible.
CVE-2026-72819: Improper Control of Generation of Code ('Code Injection') in getgrav grav
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-72819 is a remote code execution vulnerability affecting Grav CMS before version 2.0.13. The issue exists in the Flex Objects plugin's settings validation, where attackers with authentication can upload a ZIP archive containing malicious PHP code. By exploiting a bypass in the routine name validation using array notation, the attacker can invoke the unZip routine to extract and write PHP files to the web root, enabling execution of arbitrary code on the server.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary PHP code on the affected server, potentially leading to full system compromise depending on the server configuration and privileges of the web server process.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to prevent uploading of ZIP files or disable the vulnerable Flex Objects plugin if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T15:12:16.754Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7f0284bf8831d539fec83f
Added to database: 08/14/2026, 11:56:52 UTC
Last enriched: 08/14/2026, 12:13:14 UTC
Last updated: 08/14/2026, 16:56:19 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.