Skip to content
OpenAdvisories
Medium · 6.8 CVE-2025-66302 EUVD-2025-200108GHSA-j422-qmxp-hv94

Grav vulnerable to Path Traversal allowing server files backup

Published Dec 1, 2025 · Updated Dec 3, 2025 · 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.

Affected products

VendorProductAffectedFixed
getgrav grav < 1.8.0-beta.27 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist getgrav/grav < 1.8.0-beta.27 1.8.0-beta.27 GHSA-j422-qmxp-hv94

References