Path traversal in Grav CMS - #VU171001
Published: November 30, 2026
Vulnerability details
The vulnerability allows a remote attacker to select an environment folder outside the intended site scope.
The vulnerability exists due to improper restriction of host-derived paths in environment folder selection when mapping a hostname to a directory. A remote attacker can influence the hostname used in that lookup to cause selection of an unintended environment folder.
The advisory identifies the fallback used by sites without a user/env/ directory.