High severityNVD Advisory· Published Dec 1, 2025· Updated Dec 2, 2025
Grav vulnerable to Path traversal / arbitrary YAML write via user creation leading to Account Takeover / System Corruption
CVE-2025-66295
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
getgrav/gravPackagist | < 1.8.0-beta.27 | 1.8.0-beta.27 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-h756-wh59-hhjvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-66295ghsaADVISORY
- github.com/getgrav/grav/commit/3462d94d575064601689b236508c316242e15741ghsax_refsource_MISCWEB
- github.com/getgrav/grav/security/advisories/GHSA-h756-wh59-hhjvghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.