Duplicate Advisory: Remote code execution via .zip file upload in Grav CMS
Grav CMS versions prior to 2.0.13 contain a remote code execution vulnerability in the Flex Objects plugin. Authenticated users can exploit this flaw by uploading a specially crafted ZIP file containing PHP code, bypassing name validation via array notation, and causing execution of arbitrary code on the server.
AI Analysis
Technical Summary
This vulnerability affects Grav CMS before version 2.0.13 in the Flex Objects plugin settings validation. It allows authenticated users to execute arbitrary code remotely by uploading a ZIP archive with malicious PHP files. The attack bypasses normal name validation by using array notation instead of string notation, triggering the unZip routine to write PHP files to the web root, enabling remote code execution.
Potential Impact
Successful exploitation can lead to full remote code execution with high confidentiality, integrity, and availability impacts, allowing attackers to run arbitrary PHP code on the affected server.
Mitigation Recommendations
A fix is available in Grav CMS version 2.0.13. Users should upgrade to version 2.0.13 or later to remediate this vulnerability.
Duplicate Advisory: Remote code execution via .zip file upload in Grav CMS
Description
Grav CMS versions prior to 2.0.13 contain a remote code execution vulnerability in the Flex Objects plugin. Authenticated users can exploit this flaw by uploading a specially crafted ZIP file containing PHP code, bypassing name validation via array notation, and causing execution of arbitrary code on the server.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects Grav CMS before version 2.0.13 in the Flex Objects plugin settings validation. It allows authenticated users to execute arbitrary code remotely by uploading a ZIP archive with malicious PHP files. The attack bypasses normal name validation by using array notation instead of string notation, triggering the unZip routine to write PHP files to the web root, enabling remote code execution.
Potential Impact
Successful exploitation can lead to full remote code execution with high confidentiality, integrity, and availability impacts, allowing attackers to run arbitrary PHP code on the affected server.
Mitigation Recommendations
A fix is available in Grav CMS version 2.0.13. Users should upgrade to version 2.0.13 or later to remediate this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-wvxr-6v52-gfmh
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6aac8de855bf5e2cf54900cd
Added to database: 09/18/2026, 01:03:36 UTC
Last enriched: 09/18/2026, 01:25:52 UTC
Last updated: 09/18/2026, 01:25:52 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.
External Links
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.