cbcvebase.
CVE-2021-26119
published 2021-02-22

CVE-2021-26119: Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.

PriorityP344high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
9.44%
94.8th percentile
Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.

Affected

6 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debiandebian_linux
debiansmarty3< smarty3 3.1.39-1 (bookworm)smarty3 3.1.39-1 (bookworm)
smartysmarty< 3.1.393.1.39
smartysmarty>= 0 < 3.1.393.1.39

Detection & IOCsextracted from sources · hover to see the quote

  • Sandbox escape vector: access to `$smarty.template_object` variable within Smarty sandbox mode should be monitored or blocked as it enables sandbox escape
  • ·Vulnerability is scoped as local exploitation; Smarty versions before 3.1.39 are affected — upgrade to 3.1.39 or later to remediate
  • ·Debian packages resolved the issue at version 3.1.39-1 across bookworm, bullseye, forky, sid, and trixie

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.