CVE-2021-26119: Code Injection

Published Jan 24, 2021
·
Updated

Sandbox protection could be bypassed through access to an internal Smarty object that should have been blocked. Sites that rely on Smarty Security features should upgrade as soon as possible. Please upgrade to 3.1.39 or higher.

Other sources

Smarty before 3.1.39 allows a Sandbox Escape because $smarty.templateobject can be accessed in sandbox mode.

templateobject Sandbox Escape PHP Code Injection

Affected Software

7 affected componentsFixes available
composer/smarty/smarty<=3.1.38
debian/smarty3
3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u13.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u23.1.39-2+deb11u13.1.47-23.1.48-1
composer/smarty/smarty<3.1.39
3.1.39
Smarty smarty<3.1.39
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Event History

Jan 24, 2021
Advisory Published
10:13 PM
Feb 22, 2021
CVE Published
via MITRE·01:34 AM
Data Sourced
via MITRE·01:34 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-26119?

CVE-2021-26119 is considered a critical vulnerability that allows sandbox protection to be bypassed.

2

How do I fix CVE-2021-26119?

To fix CVE-2021-26119, upgrade Smarty to version 3.1.39 or higher.

3

Which versions of Smarty are affected by CVE-2021-26119?

Smarty versions up to and including 3.1.38 are affected by CVE-2021-26119.

4

What systems are impacted by CVE-2021-26119?

CVE-2021-26119 affects systems using affected versions of Smarty, including various Debian releases.

5

What features are compromised due to CVE-2021-26119?

CVE-2021-26119 compromises Smarty's security features by allowing unauthorized access to internal Smarty objects.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203