9.2

CVE-2026-82531: smarty-php smarty Code Injection

CVSS: 9.2v4.0CriticalAwaiting analysis
AliasesUBUNTU-CVE-2026-82531DEBIAN-CVE-2026-82531
Published 06-10-2026Last modified 06-10-2026

Vulnerability summary

CVE-2026-82531 is a critical (CVSS 9.2) Code Injection vulnerability in smarty-php smarty. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 56.5% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.2/10
010
Critical · v4.0 (CVE.org)
EPSS score
0.82%
0%100%
Low · Change unavailable
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 06-10-2026
    PublishedVulnerability first disclosed.
  2. 06-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.82%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

07-10-202620-10-2026
EPSS score
0.82%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • smarty3All versions (No fix recorded)
  • smarty4All versions (No fix recorded)
Ubuntu2 products
  • smarty3All versions (No fix recorded)
  • smarty4All versions (No fix recorded)
Smarty-php1 product
  • smarty< 4.5.8 | ≥ 5.0.0, < 5.8.5

3 vendors · 5 products

References

9 links