{"id":"CVE-2011-1028","aliases":["DEBIAN-CVE-2011-1028","EUVD-2022-1647","GHSA-6frx-2r5w-c524"],"status":"published","title":"Smarty3 Arbitrary PHP Code Execution","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01613,"percentile":0.76123,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2019-11-20T14:45:10Z","modified":"2026-10-23T18:02:45Z","fixes":[{"ecosystem":"Packagist","package":"smarty/smarty","fixed_in":["3.0.7"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"smarty3","fixed_in":["3.0.8-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"smarty3","fixed_in":["3.0.8-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"smarty3","fixed_in":["3.0.8-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"smarty/smarty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.7"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"smarty3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.8-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"smarty3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.8-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"smarty3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.8-1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"smarty/smarty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.7"}]}],"versions":["v2.6.24","v2.6.25","v2.6.26","v2.6.27","v2.6.28","v2.6.29","v2.6.30","v2.6.31","v2.6.33"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"smarty","product":"smarty"},{"vendor":"smarty3","product":"smarty3"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2011-1028","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/security/cve/cve-2011-1028","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://seclists.org/oss-sec/2011/q1/313","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1028","tags":["advisory"]},{"url":"https://github.com/smarty-php/smarty/commit/0154f17de2b2dd16ff9c016923015ac19af9c0cb","tags":["web"]},{"url":"https://web.archive.org/web/20110609032516/http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt","tags":["web"]},{"url":"https://www.smarty.net/forums/viewtopic.php?t=18815","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6frx-2r5w-c524"},{"url":"https://github.com/smarty-php/smarty","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2011-1028","description":"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.","status":"published","published":"2019-11-20T14:45:10Z","modified":"2024-08-06T22:14:27.221Z","updated_at":"2026-11-02T14:35:38.321377Z"}],"euvd":[{"id":"EUVD-2022-1647","description":"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.","status":"published","published":"2019-11-20T14:45:10Z","modified":"2024-08-06T22:14:27Z","updated_at":"2026-11-03T01:55:57.729923Z"}],"ghsa":[{"id":"GHSA-6frx-2r5w-c524","title":"Smarty3 Arbitrary PHP Code Execution","description":"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.","status":"published","published":"2022-04-22T00:24:15Z","modified":"2024-01-12T22:38:47Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:30.812736Z"}],"nvd":[{"id":"CVE-2011-1028","description":"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.","status":"published","published":"2019-11-20T15:15:11.023Z","modified":"2026-06-16T23:28:35.097Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:12.945371Z"}],"osv":[{"id":"CVE-2011-1028","description":"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.","status":"published","published":"2019-11-20T15:15:11Z","modified":"2026-04-10T03:41:40.140094Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:43:57.991581Z"},{"id":"DEBIAN-CVE-2011-1028","description":"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.","status":"published","published":"2019-11-20T15:15:11.023Z","modified":"2026-10-23T18:02:45.499849411Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:24.612044Z"},{"id":"GHSA-6frx-2r5w-c524","title":"Smarty3 Arbitrary PHP Code Execution","description":"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.","status":"published","published":"2022-04-22T00:24:15Z","modified":"2024-02-16T08:21:02.337201Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:39.618611Z"}]}}
