Path traversal in Grav CMS - #VU138922
Published: July 21, 2026
Vulnerability identifier: #VU138922
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in ImageMedium::watermark(). A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.
Affected software
Grav CMS
Remediation
Install updates from vendor's website.
Grav CMS - update to 2.0.11