CVE-2025-66295CWE-22path-traversal

CVE-2025-66295

High Β· published December 2, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
45.3
In the wild
Unconfirmed
What it is

⚑ Just a crafty username is all it takes to expose sensitive account information! Before version 1.8.0-beta.27, Grav allows an attacker to use path traversal sequences to manipulate where account data is stored. πŸ”₯ Think of it like a restaurant where a customer can slip a note under the door to the kitchen, asking for their order to be sent to their friend's house instead of their table. If the restaurant doesn’t check that note closely, they might send private information to the wrong address! An attacker could create a new user with a sneaky username, allowing them to write sensitive account details like emails and hashed passwords to an unintended location. This could lead to unauthorized access and a complete breach of user privacy. Yikes!

Put simply

Think of it like a restaurant where a customer can slip a note under the door to the kitchen, asking for their order to be sent to their friend's house instead of their table. If the restaurant doesn’t check that note closely, they might send private information to the wrong address! This vulnerability allows an authenticated user with user creation privileges to write user account data outside the intended directory by exploiting path traversal sequences in the username during account creation.

What to do

An attacker could create a new user with a sneaky username, allowing them to write sensitive account details like emails and hashed passwords to an unintended location. This could lead to unauthorized access and a complete breach of user privacy. Yikes! Upgrade to Grav version 1.8.0-beta.27 immediately to close this security hole. It's also wise to audit user input validation to prevent future path traversal exploits. Don’t forget to test this in your staging environment! You've got this! By taking these steps, you’ll shore up your defenses and keep your user data safe! πŸ›‘οΈ

The record
Technical detail
CVSS v3.1
8.8 Β· HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00551 Β· 45.3th percentile
Weakness
CWE-22 Β· Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-12-02T02:15Z
Affected products (27)
ProductVersionsFixed in
getgrav/gravβ‰₯ 1.7.49.5, < 1.8.01.8.0
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
getgrav/gravall versionsβ€”
References (2)
EPSS history
Timeline
  • 01 DEC 20:46Z
    Grav vulnerable to Path traversal / arbitrary YAML write via user creation leading to Account Takeover / System Corruption
    cvelistv5