Path Traversal in Smarty

CVE-2018-16831

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

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.027 (84.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-16831?
CVE-2018-16831 is a medium-severity vulnerability in Smarty, classified under Path Traversal. CVSS score: 5.9/10. Published 2018-09-11.
How severe is CVE-2018-16831?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2018-16831 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.