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.
CVE-2026-62992
This medium-severity CVE scores 6.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 70% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.9
- EG Score
- 6.9(medium)
- EG Risk
- 36(Track)EG Risk 36/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity69% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 30%
- KEV
- Not listed
Published
August 7, 2026
Last Modified
August 7, 2026
Advisory Details (5)
Auto-updated Aug 7, 2026v5.8.2
Patch available: smarty-php/smarty v5.8.2
https://github.com/smarty-php/smarty/releases/tag/v5.8.2v4.5.7
Patch available: smarty-php/smarty v4.5.7
https://github.com/smarty-php/smarty/releases/tag/v4.5.7commit a1ccdb051802 (smarty-php/smarty)
Patch available: smarty-php/smarty v4.5.7 (contains commit a1ccdb051802)
https://github.com/smarty-php/smarty/commit/a1ccdb0518021a559b4066c37b76a42c86bbce90commit 99c048ce7a59 (smarty-php/smarty)
Patch available: smarty-php/smarty v5.8.2 (contains commit 99c048ce7a59)
https://github.com/smarty-php/smarty/commit/99c048ce7a590c519b79fbd38ad0143a08183a1fSymlink path traversal out of trusted directories · Advisory · smarty-php/smarty · GitHub
Affected: 5.8.2. Security::_checkDir() now resolves the requested file with native realpath
https://github.com/smarty-php/smarty/security/advisories/GHSA-f6wf-28g6-769xVendor Advisories for CVE-2026-62992(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| smarty/smarty | v2.6.24 ... v4.5.6 (72 versions) | 4.5.7 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 24× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 10:50 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 11:16 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 11:41 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 12:07 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 12:31 UTCEG score recompute
- 2026-08-15 12:57 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 13:22 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 14:14 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 14:40 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 15:31 UTCEG score recompute
- 2026-08-09 13:47 UTCEPSS rescore
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 16:23 UTCEG score recompute
- 2026-08-07 15:23 UTCEG score recompute
- 2026-08-07 15:22 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-62992?
When was CVE-2026-62992 disclosed?
Is CVE-2026-62992 actively exploited?
What is the CVSS score of CVE-2026-62992?
How do I remediate CVE-2026-62992?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-62992
Is Your Infrastructure Affected by CVE-2026-62992?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.