CVE-2025-66295 Details
Description
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, when a user with privilege of user creation creates a new user through the Admin UI and supplies a username containing path traversal sequences (for example ..\Nijat or ../Nijat), Grav writes the account YAML file to an unintended path outside user/accounts/. The written YAML can contain account fields such as email, fullname, twofa_secret, and hashed_password. This vulnerability is fixed in 1.8.0-beta.27.
A path traversal vulnerability has been identified in Grav versions prior to 1.8.0-beta.27. When a user with the privilege to create accounts does so through the Admin UI, it is possible to include path traversal sequences in the username. This causes Grav to write the user's account YAML file to an unintended location outside the user/accounts directory. The YAML file can contain sensitive information such as the user's email, full name, two-factor authentication secret, and hashed password. Exploitation of this vulnerability could lead to unauthorized access to user accounts by overwriting account details of existing users.
Users can update to Grav version 1.8.0-beta.27 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| getgrav grav | >= 1.7.49.5, < 1.8.0 1.8.0 beta1 1.8.0 beta10 1.8.0 beta11 1.8.0 beta12 1.8.0 beta13 1.8.0 beta14 1.8.0 beta15 1.8.0 beta16 1.8.0 beta17 1.8.0 beta18 1.8.0 beta19 1.8.0 beta2 1.8.0 beta20 1.8.0 beta21 1.8.0 beta22 1.8.0 beta23 1.8.0 beta24 1.8.0 beta25 1.8.0 beta26 1.8.0 beta3 1.8.0 beta4 1.8.0 beta5 1.8.0 beta6 1.8.0 beta7 1.8.0 beta8 1.8.0 beta9 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Dec 1, 2025 | New CVE Received | [email protected] |