Read the docs
TI-2018-10105 Aliases CVE-2018-13982GHSA-7gfx-wxfh-7rvm

Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path…

Priority LOW 39CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.03463 89th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed smarty/smarty (Packagist): 3.1.33

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—smarty/smarty (Packagist)before 3.1.333.1.33Patch availableGHSA-7gfx-wxfh-7rvm
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • smarty/smarty (Packagist) Vendor— Affected before 3.1.33 Fixed in 3.1.33 Patch available GHSA-7gfx-wxfh-7rvm

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*before 3.1.33Vulnerablesmarty-php
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
  • cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* Versions before 3.1.33 Vulnerable ·smarty-php
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-7gfx-wxfh-7rvm smarty/smarty (Packagist) Fixed in 3.1.33 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-13982
  2. 2026-10-03 Alias added: GHSA-7gfx-wxfh-7rvm

References

Sources