{"id":"CVE-2025-66295","published":"2025-12-01T20:46:56Z","modified":"2025-12-02T14:04:38Z","title":"Grav vulnerable to Path traversal / arbitrary YAML write via user creation leading to Account Takeover / System…","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00787,"percentile":0.52726,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-h756-wh59-hhjv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":10.55},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.8.0-beta.27"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-02T14:04:26.033361Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.8.0-beta.27"],"patched":["1.8.0-beta.27"],"from":["GHSA-h756-wh59-hhjv"],"provenance":"source"}],"summary":{"text":"Grav, a file-based web platform, contains a path traversal flaw in its Admin UI user-creation function: a username with traversal sequences such as \"../\" causes the account YAML file to be written outside the user/accounts/ directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:10Z"},"euvd":{"id":"EUVD-2025-200082","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-getgrav-grav-cve-2025-66295","children":[{"from":"CVE-2025-66295","to":"CVE-2026-42608","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["system/src/Grav/Common/Flex/Types/Users/UserObject.php"],"commits":["https://github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741","https://github.com/getgrav/grav/commit/c66dfeb5ff679a1667678c6335eb9ff3255dfc47","https://github.com/getgrav/grav/commit/d904efc33e03ebb597afde8d3368b28cf0423632"],"basis":"shared function","functions":["save"]}]}]}}