CVE
CVE-2018-16831
publishedphp-Smarty: trusted_dir protection mechanism bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | smarty3 | Advisory build | 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u2 | DLA-2618-1 |
| Ubuntu | bionic | smarty3 | Advisory build | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 | USN-5348-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
1Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f7b419e846ee8a27992c9a01d4be5b3f9436b76d6982f19a45c00e639d1fc282
- Ingested
- 23 Sep 2026, 07:43:53 UTC
- Source record
- Official CVE record