CVE-2026-65896
published high CVSS 4.0 · 7.1Grav API Plugin before 1.0.10 Path Traversal via move
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav0 to < 1.0.10 (affected · semver) · 1.0.10 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav | 0 to < 1.0.10 (affected · semver)1.0.10 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-73 External Control of File Name or Path
References
3- Patch Commit https://github.com/getgrav/grav-plugin-api/commit/f9438d4e71389b1041ac60b69b0b5714ecfa3bdd
- GitHub Security Advisory (GHSA-qjq4-jp55-4mx2) https://github.com/getgrav/grav/security/advisories/GHSA-qjq4-jp55-4mx2
- VulnCheck Advisory: Grav API Plugin before 1.0.10 Path Traversal via move https://www.vulncheck.com/advisories/grav-api-plugin-before-path-traversal-via-move
Provider assertions
2VulnCheck · cna
Grav API Plugin before 1.0.10 Path Traversal via move
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b5fc804787cd32b70aa1e05a00dd08ac7dfcdaacf3a740012bac2b54481dfc1c
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record