BuzzPHP
LightDarkSystem

Grav: Unauthenticated denial of service via unbounded image derivative dimensions

High severity. Published 14 August 2026. Update getgrav/grav to the fixed version of your branch (2.0.0-rc.8, 1.7.53): composer update getgrav/grav.

Which versions are affected?

PackageAffected versionsFixed in
getgrav/grav (opens in a new tab)>= 2.0.0-beta.1, < 2.0.0-rc.8 | < 1.7.532.0.0-rc.8, 1.7.53

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show getgrav/grav
composer audit

Advisory details

SeverityHigh
Published
Updated
CVECVE-2026-53653 (opens in a new tab)
GHSAGHSA-4x9g-vw65-vvf9 (opens in a new tab)
WeaknessCWE-770

What the advisory says

Summary An unauthenticated visitor exhausts server memory and CPU by requesting an image with oversized resize dimensions. One request drives a worker to several gigabytes of RAM and tens of seconds of CPU. A few concurrent requests take the host down.

Details Grav::fallbackUrl() (system/src/Grav/Common/Grav.php:800-804) loops over every query parameter and, when the name matches ImageMedium::$magicactions, calls that method on the medium with the comma-split value as arguments:

forceResize runs with force=true, so it sets the output size to the attacker's values with no clamp against the source or any ceiling. The getgrav/image GD adapter then calls imagecreatetruecolor($w, $h).

Source: GHSA-4x9g-vw65-vvf9 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories