Path Traversal in Getgrav Grav
CVE-2025-66302
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (38.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 38.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Getgrav Grav — versions 1.8.0, < 1.8.0-beta.27
Weakness classification (CWE)
References
- github.com/getgrav/grav/security/advisories/GHSA-j422-qmxp-hv94 (Exploit, Third Party Advisory)
- github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee (Patch)
Frequently asked questions
- What is CVE-2025-66302?
- CVE-2025-66302 is a medium-severity vulnerability in Getgrav Grav, classified under Path Traversal. CVSS score: 6.8/10. Published 2025-12-01.
- How severe is CVE-2025-66302?
- Medium severity. CVSS v3 base score is 6.8 out of 10.