{"id":"CVE-2025-66295","title":"Grav is a file-based Web platform","summary":"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)…","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-22"],"vendor":"getgrav","product":"grav","affected":["grav >= 1.7.49.5, < 1.8.0","grav = 1.8.0"],"patched":["grav 1.8.0"],"published":"2025-12-01","updated":"2026-09-26","sourceUpdated":"2026-09-26T00:10:00.127","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-66295","references":[{"url":"https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741","label":"security-advisories@github.com"},{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-h756-wh59-hhjv","label":"security-advisories@github.com"}],"tags":["nvd"],"epss":0.00551,"epssPercentile":0.43723,"ingestedAt":"2026-09-26T00:22:39.986Z","slug":"CVE-2025-66295","body":"## Overview\n\nGrav 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.\n\n## Affected\n\n- `grav >= 1.7.49.5, < 1.8.0`\n- `grav = 1.8.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `grav 1.8.0`","depth":"twilight","depthScore":49,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}