{"id":"CVE-2026-65896","published":"2026-07-23T11:42:16Z","modified":"2026-08-28T15:18:29Z","title":"Grav API Plugin before 1.0.10 Path Traversal via move","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"Grav API Plugin (Composer package getgrav/grav-plugin-api) before 1.0.10 fails to properly validate the slug field in the POST /pages/{route}/move endpoint. PagesController::move() sanitizes the slug only with ltrim($body['slug'], '.'), which strips leading periods but does not neutralize '/' or '..' segments. An authenticated API caller with the api.pages.write permission can supply path traversal sequences (e.g., 01.home/../../../pwned) to move an entire page directory (content and media) to an arbitrary writable location outside user/pages/, including outside the Grav installation.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00324,"percentile":0.26085,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-qjq4-jp55-4mx2","tags":["vendor-advisory"]},{"url":"https://github.com/getgrav/grav-plugin-api/commit/f9438d4e71389b1041ac60b69b0b5714ecfa3bdd","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/grav-api-plugin-before-path-traversal-via-move","tags":["third-party-advisory"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":5.22},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.0.10"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["1.0.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-23T13:16:54.754863Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-48246","exploited":false,"provenance":"source"}}