{"id":"CVE-2021-26119","aliases":["GHSA-w5hr-jm4j-9jvq"],"url":"https://o3.security/vulnerability/CVE-2021-26119","summary":"Sandbox escape through template_object in smarty","details":"Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.","published":"2021-02-22T02:15:14.260Z","modified":"2026-07-08T05:58:58.577958393Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"smarty/smarty","fixedVersion":"3.1.39"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5151"},{"type":"FIX","url":"https://security.gentoo.org/glsa/202105-06"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:58:58.577958393Z"}}