Skip to main content
CVE-2026-82531VulnerabilityPublished Updated

Smarty3: Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level

Affects smarty3Source GCVE Database

0
Compare
Authoritative record:CVE-2026-82531· Critical 9.2

Not known to be exploited · CVSS 9.2 Critical.

Data as of 24 Nov 2026, 21:25 UTC

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10smarty3pkg:deb/ubuntu/smarty3?arch=source&distro=stonkingOther threatsAffected
  • =3.1.48-2build1
Fixed in–
Ubuntu 26.10smarty4pkg:deb/ubuntu/smarty4?arch=source&distro=stonkingOther threatsAffected
  • =4.5.5-1
Fixed in–
Ubuntu 26.04 LTSsmarty3pkg:deb/ubuntu/smarty3?arch=source&distro=resoluteOther threatsAffected
  • =3.1.48-2
  • =3.1.48-2build1
Fixed in–
Ubuntu 26.04 LTSsmarty4pkg:deb/ubuntu/smarty4?arch=source&distro=resoluteOther threatsAffected
  • =4.5.5-1
Fixed in–
Ubuntu 24.04 LTSsmarty3pkg:deb/ubuntu/smarty3?arch=source&distro=nobleOther threatsAffected
  • =3.1.48-1
  • =3.1.48-1ubuntu0.24.04.1
Fixed in–
Ubuntu 24.04 LTSsmarty4pkg:deb/ubuntu/smarty4?arch=source&distro=nobleOther threatsAffected
  • =4.3.1-1
  • =4.3.1-1ubuntu0.24.04.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…