CVE-2026-62992
Last modified
CVE-2026-62992 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 5.8.2 (and 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve symbolic links before validating that a requested path lies within a configured secure directory.
Description
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 5.8.2 (and 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve symbolic links before validating that a requested path lies within a configured secure directory. An attacker able to place or reference a symlink within a directory Smarty treats as trusted (e.g., a template or config directory) could use it to point outside the intended secure directory, bypassing the containment check and reading arbitrary files accessible to the PHP process. This issue is fixed in versions 5.8.2 and 4.5.7.
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.2; < 4.5.7 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-62992?
How severe is CVE-2026-62992?
How do I fix CVE-2026-62992?
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-62959Coturn is a free open source implementation of TURN and STUN…8.2
- CVE-2026-6296Heap buffer overflow in ANGLE in Google Chrome prior to 147.…9.6
- CVE-2026-62963Centrifugo is an open-source scalable real-time messaging se…8.7
- 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-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-6301Type Confusion in Turbofan in Google Chrome prior to 147.0.7…8.8
Are you affected by CVE-2026-62992?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
