CVE-2026-82531 Smarty - Code Injection

Smarty < 4.5.8 and 5.x < 5.8.5 contain a code injection vulnerability caused by improper restoration of top-level nocache_hash during multi-component template inheritance, letting attackers execute arbitrary PHP code remotely, exploit requires crafted assigned data with forged SmartyNocache marker.

CVSS base score 8.1 /10
High
CISA KEV
Not listed
Public exploit
Proof of concept available
Authentication
Not required
EPSS
0.82% chance of exploitation in 30 days
View the NVD record ↗