CVE-2021-26119
Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.
02 Description
Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 8.49% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 95.0% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-02-22 01:34Z5 YR AGO
- Last updated
- 2024-08-03 20:19Z2 YR AGO
- Reserved
- 2021-01-25
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- No CWE assigned
- Data version
- 5.1
- Document digest
- cc69bf869c3061704f3a61c4f54c17979107077a1f084194d06149e4b9f693c0
05 Affected products
06 References
- github.comhttps://github.com/smarty-php/smarty/blob/master/CHANGELOG.md
- lists.debian.org[debian-lts-announce] 20210405 [SECURITY] [DLA 2618-1] smarty3 security updatehttps://lists.debian.org/debian-lts-announce/2021/04/msg00004.html
- lists.debian.org[debian-lts-announce] 20210416 [SECURITY] [DLA 2618-2] smarty3 regression updatehttps://lists.debian.org/debian-lts-announce/2021/04/msg00014.html
- security.gentoo.orgGLSA-202105-06https://security.gentoo.org/glsa/202105-06
- www.debian.orgDSA-5151https://www.debian.org/security/2022/dsa-5151
07 Fixed in
Debian 12
- smarty3 Fixed in 3.1.39-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- smarty3 Fixed in 3.1.39-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- smarty3 Fixed in 3.1.39-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- smarty3 Fixed in 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- smarty3 Fixed in 3.1.21-1ubuntu1+esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- smarty3 Fixed in 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.