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.
CVE-2026-62996
This medium-severity CVE scores 6.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 72% 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
- 47(Track)EG Risk 47/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%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 28%
- KEV
- Not listed
Published
August 7, 2026
Last Modified
August 7, 2026
Advisory Details (4)
Auto-updated Aug 7, 2026Release v5.8.4 (smarty-php/smarty)
Patch available: smarty-php/smarty v5.8.4
https://github.com/smarty-php/smarty/releases/tag/v5.8.4commit 3c9f77a2e06c (smarty-php/smarty)
Patch available: smarty-php/smarty v5.8.4 (contains commit 3c9f77a2e06c)
https://github.com/smarty-php/smarty/commit/3c9f77a2e06ce319ae0092496af32cc8f3adc52eSecurity: validate nested stream wrapper in stream: resource (CWE-22)
Patch available: smarty-php/smarty v5.8.4 (PR #1195 merged 2026-06-29)
https://github.com/smarty-php/smarty/pull/1195Smarty Security stream restriction bypass through stream: resource · Advisory · smarty-php/smarty · GitHub
https://github.com/smarty-php/smarty/security/advisories/GHSA-rjhh-76wf-8xmwVendor Advisories for CVE-2026-62996(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 | v5.0.0 ... v5.8.3 (22 versions) | 5.8.4 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 27× 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-19 18:47 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 15:40 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 12:40 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 10:38 UTCEG score recompute
- 2026-08-15 08:37 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 06:35 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 04:34 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 02:32 UTCEG score recompute
- 2026-08-11 00:31 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 22:29 UTCEG score recompute
- 2026-08-09 13:47 UTCEPSS rescore
- 2026-08-08 20:28 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 18:26 UTCEG score recompute
- 2026-08-07 17:27 UTCEG score recompute
- 2026-08-07 16:23 UTCEG score recompute
Show 2 moreShow fewer
- 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-62996?
When was CVE-2026-62996 disclosed?
Is CVE-2026-62996 actively exploited?
What is the CVSS score of CVE-2026-62996?
How do I remediate CVE-2026-62996?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-62996
Is Your Infrastructure Affected by CVE-2026-62996?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.