{"id":"CVE-2025-66295","aliases":["GHSA-h756-wh59-hhjv"],"url":"https://o3.security/vulnerability/CVE-2025-66295","summary":"Grav vulnerable to Path traversal / arbitrary YAML write via user creation leading to Account Takeover / System Corruption","details":"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.","published":"2025-12-01T20:46:56.726Z","modified":"2026-08-08T03:48:15.899182707Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"getgrav/grav","fixedVersion":"1.8.0-beta.27"}],"fix":{"url":"https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741","label":"getgrav/grav@3462d94"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66295.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-h756-wh59-hhjv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66295"},{"type":"FIX","url":"https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:48:15.899182707Z"}}