Path Traversal in Smarty-php Smarty

CVE-2026-62992

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 5.8.2 (and 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve symbolic links before validating t…

Vulnerability class: Path Traversal (Directory Traversal)

Affected products

Weakness classification (CWE)

References