CVE-2026-65896CWE-73

CVE-2026-65896

High · published July 23, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
40.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00476 · 40.1th percentile
Weakness
CWE-73 · External Control of File Name or Path
Published
2026-07-23T16:18Z
References (4)
EPSS history
Timeline
  • 23 JUL 11:42Z
    Grav API Plugin before 1.0.10 Path Traversal via move
    cvelistv5