CVE-2026-62993: smarty · Server-Side Request Forgery (SSRF)
Affects smartySource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 5.8.2 or 4.5.7 when convenient.
Data as of 30 Nov 2026, 18:37 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.8.2, 4.5.7
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade smarty to 5.8.2 or 4.5.7; smarty/smarty to 5.8.2; smarty/smarty to 4.5.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| smarty-phpsmarty | Affected
| Fixed in
|
| smarty-phpsmarty | Affected
| Fixed in
|
Packagistsmarty/smartypkg:composer/smarty/smartyOther threats | Affected
| Fixed in
|
Packagistsmarty/smartypkg:composer/smarty/smartyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Smarty to version 4.5.7 or later if using the 4.x release line, or to version 5.8.2 or later if using the 5.x release line. These versions contain the official fix that properly validates URLs and prevents SSRF via open redirects. No other mitigation is indicated by the vendor advisory.
Description
CVE-2026-62993 is a Server-Side Request Forgery (SSRF) vulnerability in the Smarty PHP template engine affecting versions prior to 4.5.7 and 5.8.2. The issue arises from improper validation of URLs in the {fetch} function, allowing an attacker to bypass trusted URI checks via open redirects on trusted hosts. This can lead to SSRF attacks where internal endpoints are accessed by the server. The vulnerability has a CVSS 4.0 base score of 6.9, indicating medium severity. It is fixed in Smarty versions 4.5.7 and 5.8.2.
References
- github.com/smarty-php/smarty/security/advisories/GHSA-cq55-c7wv-pxmq (opens in a new tab)
- github.com/smarty-php/smarty/pull/1194 (opens in a new tab)
- github.com/smarty-php/smarty/commit/31e06fc087a8b5a9b236c1e5dacc1c2850a2c115 (opens in a new tab)
- github.com/smarty-php/smarty/commit/a1ccdb0518021a559b4066c37b76a42c86bbce90 (opens in a new tab)
- github.com/smarty-php/smarty/releases/tag/v4.5.7 (opens in a new tab)
- github.com/smarty-php/smarty/releases/tag/v5.8.2 (opens in a new tab)