Path traversal in Smarty - CVE-2026-62992
Published: July 21, 2026
Smarty
Detailed vulnerability description
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to path traversal in Security::_checkDir() when processing template {include} and {fetch} paths through a symlink inside a trusted directory. A remote user can cause a template to reference a symlinked path to disclose sensitive information.
Exploitation requires Smarty's Security policy to be enabled and a symlink to exist inside a trusted directory.