CVE Catalog

CVE-2025-66295

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.55%

44th percentile - higher than 44% of all known CVEs

Summary

In Grav prior to 1.8.0-beta.27, a user with user creation privilege can create a new user with a username containing path traversal sequences (e.g., ..\Nijat or ../Nijat), causing the account YAML file to be written outside user/accounts/. The written YAML can contain account fields such as email, fullname, twofa_secret, and hashed_password.

Risk Assessment

An attacker could write files containing credential data to unexpected locations, potentially leading to data leakage or further privilege escalation. This may compromise system integrity and user data confidentiality.

Recommendation

Update Grav to version 1.8.0-beta.27 or later. Restrict user creation privileges to trusted individuals only and monitor for unusual file write paths.

Other vulnerabilities in Grav

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS