HIGHVulnerability
Verified
Global

NVD HIGH: CVE-2026-82531 — Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability...

·Source: NIST NVD

Updated:

Executive 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

Analysis

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. CVSS Score: 8.1. Published: 2026-10-06T13:16:50.180.

Indicators of Compromise (1)

CVE (1)
CVE-2026-82531
Source Attribution

Originally published by NIST NVD on Oct 6, 2026. Verified by: NIST.

Related Threats