SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-13982

Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization.

HIGH 7.5EPSS 3.46%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (3.46%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the executed template code to bypass the trusted directory security restriction and read arbitrary files.

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
3.46% probability · 89th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-22
Affected
smarty/smarty · debian/debian linux
Source
cve@mitre.org
EPSS trend
0%3%5%27 October 2026: 3.46%27 October 202627 October 2026

EPSS 3.5% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.