---
id: CVE-2026-72819
title: >-
  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
summary: >-
  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 byp…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
published: '2026-08-14'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:32:39.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72819'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-r94f-hx44-8jqf'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/grav-cms-before-remote-code-execution-via-zip-upload
    label: disclosure@vulncheck.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-r94f-hx44-8jqf'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72819'
  - url: 'https://github.com/advisories/GHSA-r94f-hx44-8jqf'
tags:
  - nvd
  - ghsa
  - composer
epss: 0.00902
epssPercentile: 0.58066
ingestedAt: '2026-09-08T21:11:12.278Z'
aliases:
  - GHSA-r94f-hx44-8jqf
ecosystem: composer
vendor: getgrav
product: getgrav/grav
affected:
  - getgrav/grav < 2.0.13
patched:
  - getgrav/grav 2.0.13
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-72819)

Affected packages:

- `getgrav/grav < 2.0.13`

Patched in:

- `getgrav/grav 2.0.13`

Source: https://github.com/advisories/GHSA-r94f-hx44-8jqf
