CVE-2026-82531

CRITICAL CVSS 4.0: 9.2 EPSS 0.82%
Updated Oct 06, 2026
Newmediacompany
Parameter Value
CVSS 9.2 (CRITICAL)
Affected Versions 5.0.0 — 5.8.5
Fixed In 4.5.8
Type CWE-94 (Code Injection)
Vendor Newmediacompany
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Newmediacompany Smarty
cpe:2.3:a:newmediacompany:smarty:*:*:*:*:*:*:*:*
— 4.5.8
Newmediacompany Smarty
cpe:2.3:a:newmediacompany:smarty:*:*:*:*:*:*:*:*
5.0.0 5.8.5