---
id: CVE-2026-59193
title: Grav is a file-based Web platform
summary: >-
  Grav is a file-based Web platform. Prior to 2.0.0, an authenticated
  admin.super user can crash Grav or fill the disk by uploading a specially
  crafted ZIP archive through the Direct Install tool because Installer::unZip
  calls ZipArchive::…
severity: medium
cvss: 4.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-409
vendor: getgrav
product: grav
affected:
  - 'grav >= 1.0.0, < 2.0.0'
  - grav = 2.0.0
patched:
  - grav 2.0.0
published: '2026-07-10'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59193'
references:
  - url: >-
      https://github.com/getgrav/grav/commit/23d6f2adf4ce11889c088ac8557c8314baeef781
    label: security-advisories@github.com
  - url: 'https://github.com/getgrav/grav/releases/tag/2.0.0'
    label: security-advisories@github.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-2vcx-h8p2-9pg9'
    label: security-advisories@github.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-2vcx-h8p2-9pg9'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59193'
  - url: 'https://github.com/advisories/GHSA-2vcx-h8p2-9pg9'
tags:
  - nvd
  - ghsa
  - composer
epss: 0.006
epssPercentile: 0.46482
ingestedAt: '2026-07-11T20:15:26.145Z'
aliases:
  - GHSA-2vcx-h8p2-9pg9
ecosystem: composer
---

## Overview

Grav is a file-based Web platform. Prior to 2.0.0, an authenticated admin.super user can crash Grav or fill the disk by uploading a specially crafted ZIP archive through the Direct Install tool because Installer::unZip calls ZipArchive::extractTo without limits on uncompressed size, entry count, or directory depth. This issue is fixed in version 2.0.0.

## Affected

- `grav >= 1.0.0, < 2.0.0`
- `grav = 2.0.0`

## Remediation

Upgrade past the affected range:

- `grav 2.0.0`

## Package advisory (CVE-2026-59193)

Affected packages:

- `getgrav/grav >= 1.0.0, < 2.0.0`

Patched in:

- `getgrav/grav 2.0.0`

Source: https://github.com/advisories/GHSA-2vcx-h8p2-9pg9
