# CVE-2025-66302: Grav vulnerable to Path Traversal allowing server files backup

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A: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.68%, higher than 48% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-01T21:33:40.396Z
- Modified: 2026-09-26T00:10:00.127Z
- Also known as: GHSA-j422-qmxp-hv94
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A path traversal vulnerability has been identified in Grav CMS, allowing authenticated attackers with administrative privileges to read arbitrary files on the underlying server filesystem. This vulnerability arises due to insufficient input sanitization in the backup tool, where user-supplied paths are not properly restricted, enabling access to files outside the intended webroot directory. The impact of this vulnerability depends on the privileges of the user account running the application. This vulnerability is fixed in 1.8.0-beta.27.

(As written by CVE List.)

## Affected

- getgrav grav: < 1.8.0-beta.27; before 1.8.0; 1.8.0
- getgrav/grav (Packagist): before 1.8.0-beta.27

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-j422-qmxp-hv94> (exploit, third-party-advisory, web)
- <https://github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66302> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2025-66302](https://www.cve.org/CVERecord?id=CVE-2025-66302), CVE Terms of Use, modified 2025-12-03
- GitHub Advisory Database: [GHSA-j422-qmxp-hv94](https://github.com/advisories/GHSA-j422-qmxp-hv94), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-66302](https://nvd.nist.gov/vuln/detail/CVE-2025-66302), Public domain, modified 2026-09-26

---

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