Grav vulnerable to Path Traversal allowing server files backup

Summary

CVECVE-2025-66302
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-12-01 22:15:49 UTC
Updated2026-09-26 00:10:00 UTC
DescriptionGrav 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.

Risk And Classification

Primary CVSS: v3.1 6.8 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

EPSS: 0.004800000 probability, percentile 0.389390000 (date 2026-09-27)

Problem Types: CWE-22 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
3.1[email protected]Secondary6.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
3.1CNADECLARED6.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Getgrav Grav All All All All
Application Getgrav Grav 1.8.0 beta1 All All
Application Getgrav Grav 1.8.0 beta10 All All
Application Getgrav Grav 1.8.0 beta11 All All
Application Getgrav Grav 1.8.0 beta12 All All
Application Getgrav Grav 1.8.0 beta13 All All
Application Getgrav Grav 1.8.0 beta14 All All
Application Getgrav Grav 1.8.0 beta15 All All
Application Getgrav Grav 1.8.0 beta16 All All
Application Getgrav Grav 1.8.0 beta17 All All
Application Getgrav Grav 1.8.0 beta18 All All
Application Getgrav Grav 1.8.0 beta19 All All
Application Getgrav Grav 1.8.0 beta2 All All
Application Getgrav Grav 1.8.0 beta20 All All
Application Getgrav Grav 1.8.0 beta21 All All
Application Getgrav Grav 1.8.0 beta22 All All
Application Getgrav Grav 1.8.0 beta23 All All
Application Getgrav Grav 1.8.0 beta24 All All
Application Getgrav Grav 1.8.0 beta25 All All
Application Getgrav Grav 1.8.0 beta26 All All
Application Getgrav Grav 1.8.0 beta3 All All
Application Getgrav Grav 1.8.0 beta4 All All
Application Getgrav Grav 1.8.0 beta5 All All
Application Getgrav Grav 1.8.0 beta6 All All
Application Getgrav Grav 1.8.0 beta7 All All
Application Getgrav Grav 1.8.0 beta8 All All
Application Getgrav Grav 1.8.0 beta9 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Getgrav Grav affected < 1.8.0-beta.27 Not specified

References

ReferenceSourceLinkTags
github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee [email protected] github.com Patch
github.com/getgrav/grav/security/advisories/GHSA-j422-qmxp-hv94 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com Exploit, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report