CVE-2026-62993
Last modified
CVE-2026-62993 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| smarty-php | smarty | >= 5.0.0, < 5.8.2; < 4.5.7 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-62993?
How severe is CVE-2026-62993?
How do I fix CVE-2026-62993?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-6298Heap buffer overflow in Skia in Google Chrome prior to 147.0…4.3
- CVE-2026-62982Glances is an open-source system cross-platform monitoring t…8.8
- CVE-2026-62986OpenEXR is the reference implementation and specification fo…4.3
- CVE-2026-62988Froxlor is open source server administration software. From …9
- CVE-2026-6299Use after free in Prerender in Google Chrome prior to 147.0.…8.8
- CVE-2026-62992Smarty is a template engine for PHP, facilitating the separa…6.9
- CVE-2026-62994CoreDNS is a DNS server written in Go. From 1.9.4 until 1.14…3.7
- CVE-2026-62995joserfc is a Python library that provides an implementation …2.3
- CVE-2026-62996Smarty is a template engine for PHP, facilitating the separa…6.9
- CVE-2026-62999Copier is a library and CLI app for rendering project templa…7.5
- CVE-2026-6300Use after free in CSS in Google Chrome prior to 147.0.7727.1…8.8
- CVE-2026-63003django CMS is an easy-to-use and developer-friendly enterpri…6.5
Are you affected by CVE-2026-62993?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
