CVE-2018-16831: Smarty

Medium severity, CVSS 5.9. EPSS: 2.7% chance of exploitation in the next 30 days.

Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.

Affected products

  • Smarty Smarty: from 3.0.0, up to and including 3.1.32

Published 2018-09-11. Last modified 2026-06-17.