{"id":"CVE-2026-69089","published":"2026-08-03T13:20:43Z","modified":"2026-10-08T15:24:19Z","title":"Grav CMS before 2.0.11 Path Traversal via watermark","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00459,"percentile":0.40667,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-w3f4-8pj2-599w","tags":["vendor-advisory"]},{"url":"https://github.com/getgrav/grav/commit/db8c1fcd63aaaf6d6b244bc6b4cfa5f7b96bbc7f","tags":["patch"]},{"url":"https://github.com/getgrav/grav/commit/c569a53304cd7d95ff21bffa6fc590adcf0be83d","tags":["patch"]},{"url":"https://github.com/getgrav/grav/commit/b282200a65ce979377963180629babd2335212ba","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/grav-cms-before-path-traversal-via-watermark","tags":["third-party-advisory"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.13},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.11"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["2.0.11"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-03T20:04:13.400180Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":[">=2.0.10, <2.0.11"],"patched":["2.0.11"],"from":["GHSA-w3f4-8pj2-599w"],"provenance":"source"}],"summary":{"text":"Grav CMS 2.0.10 has a path traversal flaw in the ImageMedium::watermark() function, which passes an unsanitized image argument to the ResourceLocator's findResource() method, which collapses \"..\" segments without a realpath or containment check. An attacker who can author Markdown image syntax containing traversal sequences (such as an editor account) can cause image files outside Grav's media sandbox to be composited into a cached, publicly served image, disclosing them to unauthenticated visitors.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:50Z"},"euvd":{"id":"EUVD-2026-52282","exploited":false,"provenance":"source"}}