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.
Published: 2026-08-14
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Grav CMS versions earlier than 2.0.13 contain a flaw in the Flex Objects plugin that allows authenticated users to upload a ZIP archive containing PHP code. By using array notation to bypass routine name validation, an attacker can trigger the unZip routine and have malicious PHP files written to the web root, where they will be executed. This vulnerability directly leads to remote code execution, compromising the confidentiality, integrity, and availability of the affected system.

Affected Systems

All installations of Grav CMS by getgrav running a version older than 2.0.13 are vulnerable when the Flex Objects plugin is present and active. The flaw requires the user to be authenticated within the CMS, as only those users can upload ZIP files through the plugin.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity risk. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog, but the nature of the vulnerability—remote code execution through authenticated file upload—means that an attacker with valid credentials can completely compromise the server. The likely attack vector is an authenticated user uploading a specially crafted ZIP archive via the Flex Objects plugin, which then triggers the unZip routine to place executable PHP code on the web root.

Generated by OpenCVE AI on August 14, 2026 at 13:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Grav CMS update (2.0.13 or newer) to eliminate the vulnerability.
  • If immediate update is not possible, disable or remove the Flex Objects plugin from the CMS until the patch is applied.
  • Reduce the privileges of authenticated users to the minimum necessary for their role and monitor upload activity for suspicious ZIP files.
  • Ensure that only validated, non-executable content can be uploaded by implementing stricter input validation for archive names and content, following CWE‑94 mitigation guidelines.

Generated by OpenCVE AI on August 14, 2026 at 13:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title Grav CMS before 2.0.13 Remote Code Execution via ZIP Upload
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-94
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T11:35:29.507Z

Reserved: 2026-08-10T15:12:16.754Z

Link: CVE-2026-72819

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-14T12:16:44.873

Modified: 2026-08-14T12:16:44.873

Link: CVE-2026-72819

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T13:30:05Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')