High severity7.5NVD Advisory· Published Feb 22, 2021· Updated Jun 17, 2026
CVE-2021-26119
CVE-2021-26119
Description
Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
smarty/smartyPackagist | < 3.1.39 | 3.1.39 |
Affected products
6Patches
Vulnerability mechanics
References
10- security.gentoo.org/glsa/202105-06nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-w5hr-jm4j-9jvqghsaADVISORY
- github.com/smarty-php/smarty/blob/master/CHANGELOG.mdnvdRelease NotesThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2021/04/msg00004.htmlnvdMailing ListThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2021/04/msg00014.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-26119ghsaADVISORY
- www.debian.org/security/2022/dsa-5151nvdThird Party AdvisoryWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2021-26119.yamlghsaWEB
- github.com/smarty-php/smarty/security/advisories/GHSA-w5hr-jm4j-9jvqghsaWEB
- srcincite.io/blog/2021/02/18/smarty-template-engine-multiple-sandbox-escape-vulnerabilities.htmlghsaWEB
News mentions
0No linked articles in our index yet.