{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-82531","published":"2026-10-06T13:16:50.180000Z","last_modified":"2026-10-06T16:00:36.547000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":9.2,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/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":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":["smarty-php"],"products":["smarty-php/smarty"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-82531/","html_en":"/en/cve/CVE-2026-82531/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-82531","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-82531"},"untrusted":{"vendor_name":"smarty-php","product_name":"smarty","desc_en":"Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends:/multi-component template inheritance, leaving it null. Attackers can supply assigned data containing a forged SmartyNocache marker that is copied verbatim into the regenerated PHP cache file, executing arbitrary PHP on include for remote code execution.","affected":[{"untrusted_vendor":"smarty-php","untrusted_product":"smarty","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"7de33c1b3a36ac96c9a00b9bcb90d73f","generated":"2026-11-26T21:38:54.226303Z","es":{"untrusted_title":"Inyección de código PHP en Smarty por herencia de plantillas extends","untrusted_summary":"Smarty antes de 4.5.8 y 5.x antes de 5.8.5 contiene una vulnerabilidad de inyección de código donde el hash nocache de nivel superior no se restaura durante la herencia de plantillas extends/multi-componente, dejándolo nulo. Un atacante puede suministrar datos asignados con un marcador SmartyNocache falsificado que se copia literalmente en el archivo de caché PHP regenerado, ejecutando PHP arbitrario al incluir para obtener ejecución remota de código."},"en":{"untrusted_title":"PHP Code Injection in Smarty via extends Template Inheritance","untrusted_summary":"Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends/multi-component template inheritance, leaving it null. Attackers can supply assigned data containing a forged SmartyNocache marker that is copied verbatim into the regenerated PHP cache file, executing arbitrary PHP on include for remote code execution."},"remediation":{"status":"fix","fixed_versions":["4.5.8","5.8.5"],"untrusted_action_es":"Actualiza Smarty a versión 4.5.8 o superior (rama 4.x) o a versión 5.8.5 o superior (rama 5.x).","untrusted_action_en":"Update Smarty to version 4.5.8 or later (4.x branch) or version 5.8.5 or later (5.x branch).","vendor_url":"https://github.com/smarty-php/smarty/security/advisories/GHSA-3w63-v7pm-cq9x"},"reviewed":false},"references":[{"url":"https://github.com/smarty-php/smarty/commit/1cba51cb813563eb61d963c83d28cd59f26b858d","tags":[]},{"url":"https://github.com/smarty-php/smarty/commit/c0fdd4824aca4f67e814b50703cfee1dfde41414","tags":[]},{"url":"https://github.com/smarty-php/smarty/releases/tag/v4.5.8","tags":[]},{"url":"https://github.com/smarty-php/smarty/releases/tag/v5.8.5","tags":[]},{"url":"https://github.com/smarty-php/smarty/security/advisories/GHSA-3w63-v7pm-cq9x","tags":[]},{"url":"https://www.vulncheck.com/advisories/smarty-before-4.5.8-and-5-x-before-5.8.5-php-code-injection-via-extends-inheritance-cache","tags":[]}]}}