Path traversal in Grav CMS - CVE-2025-66295

 

Path traversal in Grav CMS - CVE-2025-66295

Published: May 5, 2026


Vulnerability identifier: #VU130054
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-66295
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Grav CMS
Affected software:
Grav CMS

Detailed vulnerability description

The vulnerability allows a remote user to overwrite arbitrary YAML files and modify other user accounts.

The vulnerability exists due to path traversal in the Admin UI user creation functionality when processing a username containing path traversal sequences during new user creation. A remote user can create a new user with a specially crafted username to overwrite arbitrary YAML files and modify other user accounts.

Exploitation requires the ability to create users through the Admin UI.


How to mitigate CVE-2025-66295

Install security update from vendor's website.

Sources