← All Advisories

Grav CMS Image Watermark Path Traversal Leaks Arbitrary Files to Anonymous Visitors via Public Cache URLs

Last refreshed2026-09-29

Status: NEW  |  Advisory ID: CVE-2026-69089

Key Details

CVECVE-2026-69089
CVSS Score / Version7.5 (High) / CVSS v3.1
Updated2026-08-31
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS Proseattack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is none; availability impact is none.
Classified asCWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'))

What to Know

Grav CMS 2.0.10 contains a path traversal vulnerability in ImageMedium::watermark(), which passes its unsanitized $image argument to RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator::findResource(). Because the file:// scheme branch only lexically collapses '..' segments without a realpath/containment check, an editor authoring Markdown image syntax with traversal sequences can cause arbitrary image files outside Grav's media sandbox to be composited into a carrier image, which is then cached and served from a public, unauthenticated URL — disclosing those files to anonymous visitors. (NVD)

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-69089
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-69089