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. EPSS estimates a 0.36% 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 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
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-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-62982Glances is an open-source system cross-platform monitoring t…8.8
- CVE-2026-62985request-filtering-agent is an http(s).Agent implementation t…7.5
- CVE-2026-62986OpenEXR is the reference implementation and specification fo…4.3
- CVE-2026-62987Fabio is an HTTP(S) and TCP router for deploying application…5.8
- 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-62993Smarty 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-62997Kedro-Datasets provides data connectors for Kedro. From vers…7.7
- CVE-2026-62998REDAXO is a PHP-based content management system. Prior to 5.…4.3
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
