PHP Template Engine Vulnerability in Smarty Affects Sensitive File Access
CVE-2026-62996

6.9MEDIUM

Key Information:

Vendor

Smarty-PHP

Status
Vendor
CVE Published:
7 August 2026

What is CVE-2026-62996?

The Smarty template engine for PHP, versions 5.0.0 to 5.8.4, contains a flaw in handling stream resource names that allows unauthorized access to arbitrary local files by exploiting misconfigured template resource references. This type of vulnerability can lead to the disclosure of sensitive file contents, compromising the security of applications using the Smarty engine. The issue has been rectified in version 5.8.4.

Affected Version(s)

smarty >= 5.0.0, < 5.8.4

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.