Code Injection in Smarty - CVE-2026-82531

 

Code Injection in Smarty - CVE-2026-82531

Published: October 5, 2026


Vulnerability identifier: #VU153237
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-82531
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to missing nocache-hash restoration during cache regeneration. A remote attacker can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Smarty

How to mitigate CVE-2026-82531

Install updates from vendor's website.

Smarty - addressed in versions 4.5.8, 5.8.5

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins