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)
EPSS: 0.004 (35.2th percentile) — read the EPSS interpretation.
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.
Affected products
- Getgrav Grav — versions 1.8.0, < 1.8.0-beta.27
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
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.