Live threats

All CVEs / Smarty

CVE-2009-1669Smarty

Critical 10.0 No auth neededHigh EPSS

Priority
76
CVSS 2.0
10.0
EPSS
14.1%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
May 18, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:L/Au:N/C:C/I:C/A:C

What happens

The smarty_function_math function in libs/plugins/function.math.php in Smarty 2.6.22 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function. NOTE: some of these details are obtained from third party information.

Original NVD text.

What to do

  1. Apply the vendor's security update for Smarty.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
smartysmarty2.6.22

Official sources

References

Links published by the sources. Open them with care.