# CVE-2026-65896: Grav API Plugin before 1.0.10 Path Traversal via move

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-23T11:42:16.817Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 1.0.10 (not affected: 1.0.10)

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-qjq4-jp55-4mx2> (exploit, vendor-advisory)
- <https://github.com/getgrav/grav-plugin-api/commit/f9438d4e71389b1041ac60b69b0b5714ecfa3bdd> (patch)
- <https://www.vulncheck.com/advisories/grav-api-plugin-before-path-traversal-via-move> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-65896](https://www.cve.org/CVERecord?id=CVE-2026-65896), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-65896](https://nvd.nist.gov/vuln/detail/CVE-2026-65896), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-65896 · Whole record: https://cve.day/CVE-2026-65896.json · Rebuilt by cve.day 2026-11-25T22:59:29.918Z
