SB2026072185 - Path traversal in Smarty



SB2026072185 - Path traversal in Smarty

Published: July 21, 2026

Security Bulletin ID SB2026072185
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Path traversal (CVE-ID: CVE-2026-62996)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper access control in Smarty's built-in stream resource handling when rendering untrusted templates that use the stream: resource with a nested PHP stream wrapper URI. A remote user can include a crafted stream:php://filter/... resource to disclose sensitive information.

An application must render templates that are not fully trusted while relying on Smarty Security with streams disabled, and file contents can be base64-encoded and rendered through the template.


Remediation

Install update from vendor's website.