CVE-2025-66295: Grav - Path Traversal
- Cve: CVE-2025-66295
- Name: Grav - Path Traversal
- 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.
- Impact: Attackers with user creation privilege can write account files outside intended directories, potentially leading to data tampering or privilege escalation.
- Remediation: Update to version 1.8.0-beta.27 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: data_tampering, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs user creation privileges
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00596
- Epss percentile: 0.49186
- Assignee: [email protected]
- Published at: 2025-12-01T21:15:53Z
- Age in days: 358
- Modified at: 2026-09-26T00:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66295
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741 | nvd | Patch |
| https://github.com/getgrav/grav/security/advisories/GHSA-h756-wh59-hhjv | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| getgrav:grav | = 1.8.0 beta26; = 1.8.0 beta25; = 1.8.0 beta24; = 1.8.0 beta23; = 1.8.0 beta22; = 1.8.0 beta21; = 1.8.0 beta20; = 1.8.0 beta19; = 1.8.0 beta18; = 1.8.0 beta17; = 1.8.0 beta16; = 1.8.0 beta15; = 1.8.0 beta14; = 1.8.0 beta13; = 1.8.0 beta12; = 1.8.0 beta11; = 1.8.0 beta10; = 1.8.0 beta9; = 1.8.0 beta8; = 1.8.0 beta7; = 1.8.0 beta6; = 1.8.0 beta5; = 1.8.0 beta4; = 1.8.0 beta3; = 1.8.0 beta2; = 1.8.0 beta1; >= 1.7.49.5, < 1.8.0 | no | nvd | /v1/products/getgrav/grav |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| getgrav/grav | commit, package, security_advisory | yes | /v1/repositories/getgrav/grav |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1971
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports