CVE-2026-62996CWE-22path-traversal

CVE-2026-62996

published August 7, 2026

CVSS
6.9
EPSS
1%
Percentile
42.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
6.9 · NONE
CVSS v4.0
Not supplied
EPSS
0.00508 · 42.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-08-07T20:17Z
References (5)
EPSS history
Timeline
  • 07 AUG 15:04Z
    Smarty Security stream restriction bypass through stream: resource
    cvelistv5