BuzzPHP
LightDarkSystem

Grav: Path Traversal in ImageMedium::watermark() — arbitrary file disclosure via publicly-cached images

High severity. Published 17 September 2026. Update getgrav/grav to 2.0.11 or later: composer update getgrav/grav.

Which versions are affected?

PackageAffected versionsFixed in
getgrav/grav (opens in a new tab)= 2.0.102.0.11

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-69089 (opens in a new tab)
GHSAGHSA-w3f4-8pj2-599w (opens in a new tab)
WeaknessCWE-22

What the advisory says

Reported by: Nihad Huseynli (@nihaddhuseynli (https://github.com/nihaddhuseynli)) — nihadd.huseynli@gmail.com

▎ Note: I attempted to report this via security@getgrav.org first, per SECURITY.md, but the email bounced with 550 5.1.1 Address does not exist. Filing directly here instead.

Path Traversal in ImageMedium::watermark() leading to arbitrary file disclosure via publicly-served images

Summary

The watermark media action, documented and allow-listed for use in editor-authored Markdown image syntax, passes its $image argument unsanitized into UniformResourceLocator::findResource(). That resolver only lexically collapses ..

Source: GHSA-w3f4-8pj2-599w (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