Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-62992— Smarty: Symlink path traversal out of trusted directories

Quick assessment

Affected
smarty-php smarty
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Smarty PHP Template Engine Smarty template engine是Smarty PHP Template Engine组织开源的一款服务器端模板引擎。 Smarty PHP Template Engine Smarty template engine 5.8.2之前版本和4.5.7之前版本存在安全漏洞,该漏洞源于Security::_checkDir()函数在验证请求路径是否位于配置的安全目录之前未完全解析符号链接,导致攻击者可通过在受信任目录中放置或引用符号链接绕过安全

CVSS 6.9 · Medium EPSS 0.53% · P43

Possible ATT&CK Techniques 1 AI

T1552 · Unsecured Credentials

Affected Version Matrix 2

VendorProduct Version RangeStatus
smarty-php smarty >= 5.0.0, < 5.8.2 affected
< 4.5.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-62992

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Smarty: Symlink path traversal out of trusted directories
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Smarty PHP Template Engine Smarty template engine 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Smarty PHP Template Engine Smarty template engine是Smarty PHP Template Engine组织开源的一款服务器端模板引擎。 Smarty PHP Template Engine Smarty template engine 5.8.2之前版本和4.5.7之前版本存在安全漏洞,该漏洞源于Security::_checkDir()函数在验证请求路径是否位于配置的安全目录之前未完全解析符号链接,导致攻击者可通过在受信任目录中放置或引用符号链接绕过安全
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
smarty-php smarty >= 5.0.0, < 5.8.2 -

II. Public POCs for CVE-2026-62992

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-62992

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-62992 (3)

Vendor Advisories for CVE-2026-62992 (1)

Vendor Pages for CVE-2026-62992 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-62992

No comments yet


Leave a comment