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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.027 (85.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-16831: held from 0.027 to 0.027.

EPSS over last 30 days · oldest: 0.027 · newest: 0.027 · change: 0.000

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.