CVE-2026-62996
Last modified
CVE-2026-62996 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. From 5.0.0 until 5.8.4, Smarty's stream: resource-name handling does not adequately restrict which PHP stream wrappers and filter chains can be referenced from a template, allowing a php://filter-wrapped resource name to be used to read the contents of arbitrary local files accessible to the PHP process.
Description
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. From 5.0.0 until 5.8.4, Smarty's stream: resource-name handling does not adequately restrict which PHP stream wrappers and filter chains can be referenced from a template, allowing a php://filter-wrapped resource name to be used to read the contents of arbitrary local files accessible to the PHP process. An attacker able to author or influence a template's resource reference could exploit this to disclose sensitive file contents outside the intended template/config scope. This issue is fixed in version 5.8.4.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| smarty-php | smarty | >= 5.0.0, < 5.8.4 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-62996?
How severe is CVE-2026-62996?
How do I fix CVE-2026-62996?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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-6297Use after free in Proxy in Google Chrome prior to 147.0.7727…8.3
- CVE-2026-6298Heap buffer overflow in Skia in Google Chrome prior to 147.0…4.3
- 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-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-6301Type Confusion in Turbofan in Google Chrome prior to 147.0.7…8.8
- CVE-2026-6302Use after free in Video in Google Chrome prior to 147.0.7727…8.8
- CVE-2026-6303Use after free in Codecs in Google Chrome prior to 147.0.772…8.8
- CVE-2026-63030WordPress 6.9.x before 6.9.5 and 7.0.x before 7.0.2 is affec…9.8
Are you affected by CVE-2026-62996?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
