All vulnerabilities

Servers and applications

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.

Severity
Medium 5.9
Published
11 Sept 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
2.7% in the next 30 daysHigher than 85% of CVEs. EPSS by FIRST, 10 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
SmartyServers and applications · cpe:a:smarty:smarty
  • From 3.0.0 up to 3.1.32

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-16831
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-16831