CVE-2026-82531
Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends:/multi-component template inheritance, leaving it null. Attackers can supply assigned data containing a forged SmartyNocache marker that is copied verbatim into the regenerated PHP cache file, executing arbitrary PHP on include for remote code execution.
Published:Oct 6, 2026
Last Modified:Oct 7, 2026
EPS:Oct 6, 2026
EPSS Score:
CVSS Score:8.1
Affected Products
Vendor
Product
Action
Vendor
Newmediacompany
Product
Smarty
Newmediacompany
Smarty
Vendor
Smarty-php
Product
Smarty
Smarty-php
Smarty
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
