Servers and applications
CVE-2021-26119
Sandbox escape through template_object
- Severity
- High 7.5
- Published
- 21 Feb 2021
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 3.1.39
- Also known as
- GHSA-w5hr-jm4j-9jvq
- Sources
- NVD, Project advisories (GitHub)
Description
Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.
Affected software
| Software | Affected versions |
|---|---|
SmartyServers and applications · cpe:a:smarty:smarty |
|
SmartyServers and applications · github:smarty-php/smarty |
|
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2021-26119
- CVE.org https://www.cve.org/CVERecord?id=CVE-2021-26119
- GitHub Advisory Database https://github.com/advisories/GHSA-w5hr-jm4j-9jvq
- github.com https://github.com/smarty-php/smarty/security/advisories/GHSA-w5hr-jm4j-9jvq