Server-Side Request Forgery Vulnerability in Smarty Template Engine
CVE-2026-62993

6.9MEDIUM

Key Information:

Vendor

Smarty-PHP

Status
Vendor
CVE Published:
31 August 2026

What is CVE-2026-62993?

The Smarty Template Engine, a popular PHP tool for separating presentation from application logic, has a vulnerability in its {fetch} handling system. Prior versions up to 4.5.7 and 5.8.2 allow an attacker to exploit open redirects on trusted hosts to perform Server-Side Request Forgery (SSRF). This loophole arises from insufficient validation of the fetch target, enabling unauthorized redirection requests through file_get_contents() which adheres to default PHP redirection rules. Consequently, users are urged to update to the latest versions to mitigate this risk.

Affected Version(s)

smarty >= 5.0.0, < 5.8.2 < 5.0.0, 5.8.2

smarty < 4.5.7 < 4.5.7

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.