Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-62992 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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 that a requested path lies within a configured secure directory. An attacker able to place or reference a symlink within a directory Smarty treats as trusted (e.g., a template or config directory) could use it to point outside the intended secure directory, bypassing the containment check and reading arbitrary files accessible to the PHP process. This issue is fixed in versions 5.8.2 and 4.5.7.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')[email protected]
CWE-61UNIX Symbolic Link (Symlink) Following[email protected]

Affected Products

ProductVersions
Smarty
>= 5.0.0, < 5.8.2 (semver)
< 4.5.7 (semver)

CPE

  • cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 5.8.2moderate effort
  • Upgrade: 4.5.7moderate effort
  • Mitigation:low effort

    Ensure no untrusted symlinks can be created within any directory listed in secure_dir/the trusted template directories; restrict write access to those directories to trusted processes only.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-62992
NVD Published Date:
Aug 7, 2026
NVD Last Modified:
Oct 24, 2026
Source:
[email protected]
CVE-2026-62992 Details - Not Deferred