{"id":"CVE-2026-65896","aliases":["CVE-2026-65896"],"related":[],"kind":"vulnerability","state":"published","title":"Grav API Plugin before 1.0.10 Path Traversal via move","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Grav API Plugin (paquete Composer getgrav/grav-plugin-api) anterior a la versión 1.0.10 no valida correctamente el campo slug en el endpoint POST /pages/{route}/move. PagesController::move() sanitiza el slug solo con ltrim($body[’slug’], ’.’), lo que elimina los puntos iniciales pero no neutraliza los segmentos ’/’ o ’..’. Un llamador de API autenticado con el permiso api.pages.write puede proporcionar secuencias de salto de ruta (por ejemplo, 01.home/.. / .. / .. / pwned) para mover un directorio de página completo (contenido y medios) a una ubicación arbitraria con permisos de escritura fuera de user/pages/, incluso fuera de la instalación de Grav.","source":"nvd"}],"published":"2026-07-23T11:42:16.817Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","score":7.1,"rating":"HIGH"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.0.10","status":"affected"},{"type":"semver","version":"1.0.10","status":"unaffected"}],"vendor":"getgrav","product":"grav","source":"cvelist"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-qjq4-jp55-4mx2","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/getgrav/grav-plugin-api/commit/f9438d4e71389b1041ac60b69b0b5714ecfa3bdd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/grav-api-plugin-before-path-traversal-via-move","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["izumi-hyun"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-07-23T13:16:54.754Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65896","url":"https://www.cve.org/CVERecord?id=CVE-2026-65896","licence":"CVE Terms of Use","modified":"2026-08-28T15:18:29.460Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65896","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65896","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:29.918Z","epss":{"score":0.00324,"percentile":0.2743,"date":"2026-12-01T12:00:22.000Z"}}