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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-62996— Smarty Security stream restriction bypass through stream: resource

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.0.0版本至5.8.4之前版本存在路径遍历漏洞,该漏洞源于stream资源名处理未充分限制PHP流包装器和过滤器链,可能导致攻击者利用php://filter包装的资源名读取任意本地文件,造成敏感文件信息泄露。

CVSS 6.9 · Medium EPSS 0.51% · P41

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-62996

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 Security stream restriction bypass through stream: resource
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. From 5.0.0 until 5.8.4, Smarty's stream: resource-name handling does not adequately restrict which PHP stream wrappers and filter chains can be referenced from a template, allowing a php://filter-wrapped resource name to be used to read the contents of arbitrary local files accessible to the PHP process. An attacker able to author or influence a template's resource reference could exploit this to disclose sensitive file contents outside the intended template/config scope. This issue is fixed in version 5.8.4.
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.0.0版本至5.8.4之前版本存在路径遍历漏洞,该漏洞源于stream资源名处理未充分限制PHP流包装器和过滤器链,可能导致攻击者利用php://filter包装的资源名读取任意本地文件,造成敏感文件信息泄露。
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.4 -

II. Public POCs for CVE-2026-62996

# 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-62996

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

Patches & Fixes for CVE-2026-62996 (2)

Vendor Advisories for CVE-2026-62996 (1)

Vendor Pages for CVE-2026-62996 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-62996

No comments yet


Leave a comment