CVE-2026-62993Smarty Php Smarty server-side request forgery (SSRF)
CVSS score
6.9
Medium
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.57%
0.57% chance of exploitation in the next 30 days, higher than 48.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 4.5.7 and 5.8.2, depending on the release line, Smarty's {fetch} handling in libs/plugins/function.fetch.php and src/FunctionHandler/Fetch.php used Security::isTrustedUri() to validate only the initial remote URL against trusted_uri when a security policy was active. For resources handled by file_get_contents(), including HTTPS URLs, PHP followed HTTP redirects by default. An attacker who could supply or influence a fetch target and had an open redirect on a trusted host could redirect the request to an attacker-chosen internal endpoint, bypass the trusted_uri allowlist, and perform server-side request forgery. This issue is fixed in versions 4.5.7 and 5.8.2.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running smarty-php Smarty and compare its version with the affected versions.
Update to a fixed version
- Update Smarty to 4.5.7, 5.8.2 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| smarty-php Smarty | >= 5.0.0, < 5.8.2 · < 4.5.7 |
Weakness
- CWE-918 server-side request forgery (SSRF)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-62993 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-62993?
CVE-2026-62993 has a CVSS 4.0 base score of 6.9 (medium).
Which versions are affected?
Smarty Php Smarty (>= 5.0.0, < 5.8.2; < 4.5.7)
Is there a patch for CVE-2026-62993?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/smarty-php/smarty/commit/31e06fc087a8b5a9b236c1e5dacc1c2850a2c115
- github.com/smarty-php/smarty/commit/a1ccdb0518021a559b4066c37b76a42c86bbce90
- github.com/smarty-php/smarty/pull/1194
- github.com/smarty-php/smarty/releases/tag/v4.5.7
- github.com/smarty-php/smarty/releases/tag/v5.8.2
- github.com/smarty-php/smarty/security/advisories/GHSA-cq55-c7wv-pxmq
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.