CVE-2026-72819
Received Received - Intake

Grav CMS Plugin RCE via Malicious ZIP Upload

Vulnerability report for CVE-2026-72819, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-14

Last updated on: 2026-08-14

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-14
Last Modified
2026-08-14
Generated
2026-08-14
AI Q&A
2026-08-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
getgrav grav to 2.0.13 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Grav CMS before version 2.0.13 has a remote code execution vulnerability in the Flex Objects plugin. Authenticated users can upload a malicious ZIP file containing PHP code and bypass name validation using array notation instead of string notation. This allows calling the unZip routine to write PHP files to the web root, which can then be executed to run arbitrary commands on the server.

Detection Guidance

Check Grav CMS version with command: grep -r "version" /path/to/grav/vendor/getgrav/grav/version.yaml. If version is below 2.0.13, the system is vulnerable. Inspect uploaded ZIP files for PHP code and monitor web root directories for unexpected PHP files.

Impact Analysis

An attacker with access to a vulnerable Grav CMS instance can upload a malicious ZIP file and execute arbitrary PHP code on the server. This could lead to full server compromise, data theft, or further network infiltration. The attack requires only a session cookie and API token, which can be obtained through normal login procedures.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR and HIPAA requirements for data protection and confidentiality. A successful exploit may result in data breaches, unauthorized data processing, or loss of control over personal health information, leading to regulatory penalties and legal consequences.

Mitigation Strategies

Upgrade Grav CMS to version 2.0.13 or later immediately. Remove write permissions from web root directories. Disable the Flex Objects plugin if not needed. Monitor for unauthorized PHP files in the web root and restrict access to the Media tab for untrusted users.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-72819. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart