Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getgrav/grav
  4. ›
  5. CVE-2026-72819

CVE-2026-72819: Grav CMS vulnerable to remote code execution via .zip file upload

September 17, 2026

A logged-in user can run any command on the server. A settings field can fill itself by calling one of Grav’s built-in routines, and a safety check is supposed to allow only harmless ones. The check only recognises a routine when its name is written as one piece of text; named as a pair of values instead, it is not examined at all and is passed as safe. Pointing such a field at the routine that unpacks ZIP archives writes a PHP file from an uploaded archive into the site’s public folder, which the server then runs.

References

  • github.com/advisories/GHSA-r94f-hx44-8jqf
  • github.com/getgrav/grav/security/advisories/GHSA-r94f-hx44-8jqf
  • nvd.nist.gov/vuln/detail/CVE-2026-72819
  • www.vulncheck.com/advisories/grav-cms-before-remote-code-execution-via-zip-upload

Code Behaviors & Features

Detect and mitigate CVE-2026-72819 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.13

Fixed versions

  • 2.0.13

Solution

Upgrade to version 2.0.13 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/getgrav/grav/CVE-2026-72819.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:39 +0000.