Live threats

All CVEs / Smarty

CVE-2011-1028Smarty

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Nov 20, 2019
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The $smarty.template variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the sysplugins/smarty_internal_compile_private_special_variable.php file.

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 packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist smarty/smarty < 3.0.7 3.0.7 composer require "smarty/smarty:^3.0.7"

Per OSV / GitHub Advisories (GHSA-6frx-2r5w-c524). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
smartysmarty≥ 3.0.0 < 3.0.7
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.