Patch Forecast
Amber warning
Patch this week.

CVE-2026-82531

Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the…

Risk score
65/100
CVSS
8.1 v3.1
Exploit chance (30 days)
0.8%
Published
6 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
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 regener…
Affected
See advisory
Fix
Upgrade the product to 4.5.8 or 5.8.5 (whichever matches your release line), or later.
Exploitation
No known exploitation

Why it is Amber

  • CVSS 8.1 high
  • Remotely exploitable without logging in

References

Original description

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.

Last activity 6 Oct 2026. Patch Forecast updates every hour.