CVE-2026-62996: smarty · Path Traversal
Affects smartySource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 5.8.4 when convenient.
Data as of 5 Nov 2026, 00:01 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.8.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Upgrade smarty and smarty-php/smarty to 5.8.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| smarty-phpsmarty | Affected
| Fixed in
|
Packagistsmarty-php/smartypkg:composer/smarty-php/smartyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Smarty to version 5.8.4 or later, where this path traversal vulnerability has been fixed. No other official remediation or temporary fixes are indicated. Patch status is not explicitly stated but the fix is confirmed in version 5.8.4.
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.
References
- github.com/smarty-php/smarty/security/advisories/GHSA-rjhh-76wf-8xmw (opens in a new tab)
- github.com/smarty-php/smarty/pull/1195 (opens in a new tab)
- github.com/smarty-php/smarty/commit/3c9f77a2e06ce319ae0092496af32cc8f3adc52e (opens in a new tab)
- github.com/smarty-php/smarty/releases/tag/v5.8.4 (opens in a new tab)