Medium severity5.9NVD Advisory· Published Sep 11, 2018· Updated Jun 17, 2026
CVE-2018-16831
CVE-2018-16831
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
smarty/smartyPackagist | < 3.1.33 | 3.1.33 |
Affected products
1Patches
Vulnerability mechanics
References
5- github.com/smarty-php/smarty/issues/486nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-65j5-vpm7-6xp4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-16831ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2018-16831.yamlghsaWEB
- github.com/smarty-php/smarty/commit/f9ca3c63d1250bb56b2bda609dcc9dd81f0065f8ghsaWEB
News mentions
0No linked articles in our index yet.