PoC Monitor
← All CVEs
CVE-2026-82531published 6 Oct 2026 12:18 UTCData: JSON · API

Smarty

Smarty before 4.5.8 and 5.x before 5.8.5 PHP Code Injection via extends: Inheritance Cache

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.

First public PoC 17 hafter publication · 7 Oct 2026
Public PoCs11 on GitHub
CVSS9.2critical · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

smarty-php smarty
  • < 4.5.8
  • >= 5.0.0, < 5.8.5

Fixed in 4.5.8, 5.8.5

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published6 Oct 2026 · t = 0First public PoC7 Oct 2026 · t+17h

First public PoC 17 h after publication; not in CISA KEV. First PoC: murrez/CVE-2026-82531 (created 7 Oct 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
murrez/CVE-2026-82531 7 Oct 2026 +17 h 2 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.