Vulnerability in Getgrav Grav
CVE-2026-65896
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.
EPSS: 0.005 (39.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L.
Affected products
- Getgrav Grav — versions 0, 1.0.10
Weakness classification (CWE)
References
- disclosure@vulncheck.com (patch)
- disclosure@vulncheck.com (vendor-advisory)
- disclosure@vulncheck.com (third-party-advisory)
- disclosure@vulncheck.com (patch)
Frequently asked questions
- What is CVE-2026-65896?
- CVE-2026-65896 is a high-severity vulnerability in Getgrav Grav, classified under External Control of File Name or Path. CVSS score: 7.1/10. Published 2026-07-23.
- How severe is CVE-2026-65896?
- High severity. CVSS v3 base score is 7.1 out of 10.