Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-82531
VULNERABILITY

CVE-2026-82531

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
9.2
Severity
CRITICAL
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Oct 6, 2026 13:16
Modified
Oct 6, 2026 16:00
Last observed
Oct 6, 2026 14:32

CWE

CWE-94

References