CVE-2025-66295
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, twofasecret, and hashedpassword. This vulnerability is fixed in 1.8.0-beta.27.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66295.json, https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741, https://github.com/getgrav/grav/security/advisories/GHSA-h756-wh59-hhjv, https://nvd.nist.gov/vuln/detail/CVE-2025-66295
