{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-62996","published":"2026-08-07T16:17:26Z","last_modified":"2026-10-24T16:10:00.153000Z","status":"Deferred","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["smarty-php"],"products":["smarty-php/smarty"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rjhh-76wf-8xmw","ecosystem":"Packagist","name":"smarty/smarty","purl":"pkg:composer/smarty/smarty","ranges":[{"introduced":"5.0.0","fixed":"5.8.4"}],"versions":["v5.0.0","v5.0.1","v5.0.2","v5.1.0","v5.2.0","v5.3.0","v5.3.1","v5.4.0","v5.4.1","v5.4.2","v5.4.3","v5.4.4","v5.4.5","v5.5.0","v5.5.1","v5.5.2","v5.6.0","v5.7.0","v5.8.0","v5.8.1","v5.8.2","v5.8.3"],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2026-62996/","html_en":"/en/cve/CVE-2026-62996/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-62996","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-62996"},"untrusted":{"vendor_name":"smarty-php","product_name":"smarty","desc_en":"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.","affected":[{"untrusted_vendor":"smarty-php","untrusted_product":"smarty","versions":[]}],"references":[{"url":"https://github.com/smarty-php/smarty/commit/3c9f77a2e06ce319ae0092496af32cc8f3adc52e","tags":[]},{"url":"https://github.com/smarty-php/smarty/pull/1195","tags":[]},{"url":"https://github.com/smarty-php/smarty/releases/tag/v5.8.4","tags":[]},{"url":"https://github.com/smarty-php/smarty/security/advisories/GHSA-rjhh-76wf-8xmw","tags":[]}]}}