CVE-2018-16831: smarty
Vulnerability summary
CVE-2018-16831 is a high (CVSS 7.1) vulnerability in smarty. EPSS estimates a 2.66% chance of exploitation in the next 30 days, higher than 86.2% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 11-09-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
2.66%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.66% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundSmarty
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- smarty3< 3.1.33+20180830.1.3a78a21f+selfpack1-1
Smarty1 product
- smarty≥ 3.0.0, ≤ 3.1.32
Ubuntu1 product
- smarty3< 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
3 vendors · 3 products