{"id":"GHSA-w5hr-jm4j-9jvq","summary":"Sandbox escape through template_object in smarty","details":"Sandbox protection could be bypassed through access to an internal Smarty object that should have been blocked. Sites that rely on [Smarty Security features](https://www.smarty.net/docs/en/advanced.features.tpl) should upgrade as soon as possible. Please upgrade to 3.1.39 or higher.","aliases":["CVE-2021-26119"],"modified":"2024-12-03T06:08:49.026212Z","published":"2021-03-02T02:57:23Z","database_specific":{"cwe_ids":[],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-03-02T02:55:01Z","nvd_published_at":"2021-02-22T02:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/smarty-php/smarty/security/advisories/GHSA-w5hr-jm4j-9jvq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26119"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2021-26119.yaml"},{"type":"WEB","url":"https://github.com/smarty-php/smarty"},{"type":"WEB","url":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202105-06"},{"type":"WEB","url":"https://srcincite.io/blog/2021/02/18/smarty-template-engine-multiple-sandbox-escape-vulnerabilities.html"},{"type":"WEB","url":"https://www.debian.org/security/2022/dsa-5151"}],"affected":[{"package":{"name":"smarty/smarty","ecosystem":"Packagist","purl":"pkg:composer/smarty/smarty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.39"}]}],"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","v3.1.11","v3.1.12","v3.1.13","v3.1.14","v3.1.15","v3.1.16","v3.1.17","v3.1.18","v3.1.19","v3.1.20","v3.1.21","v3.1.23","v3.1.24","v3.1.25","v3.1.26","v3.1.27","v3.1.28","v3.1.29","v3.1.30","v3.1.31","v3.1.32","v3.1.33","v3.1.34","v3.1.35","v3.1.36","v3.1.37","v3.1.37.1","v3.1.38"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-w5hr-jm4j-9jvq/GHSA-w5hr-jm4j-9jvq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}