CVE-2011-1028Smarty
Critical 9.8 No auth needed
Follow: this CVE · Smarty · Smarty We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Smarty.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| smarty | smarty | ≥ 3.0.0 < 3.0.7 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Broken Link
- seclists.org Mailing List Third Party Advisory
- security-tracker.debian.org Third Party Advisory