CVE-2026-65896 Grav API Plugin before 1.0.10 Path Traversal via move
HighCVSS 7.1
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav | < 1.0.10 | 1.0.10 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | < 1.0.10 | 1.0.10 |
References
- GitHub Security Advisory (GHSA-qjq4-jp55-4mx2) exploit vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: Grav API Plugin before 1.0.10 Path Traversal via move third-party-advisory
- ENISA EUVD EUVD-2026-48246 third-party-advisory