Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. smarty/smarty
  4. ›
  5. CVE-2021-26119

CVE-2021-26119: Trust Boundary Violation

February 22, 2021 (updated October 14, 2022)

Smarty allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-26119

Code Behaviors & Features

Detect and mitigate CVE-2021-26119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.39

Fixed versions

  • 3.1.39

Solution

Upgrade to version 3.1.39 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Source file

packagist/smarty/smarty/CVE-2021-26119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.