CVE-2026-82531

Published: Ott 06, 2026 Last Modified: Ott 06, 2026
ExploitDB:
Other exploit source:
Google Dorks:
CRITICAL 9,2
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Confidentiality: N/A
Integrity: N/A
Availability: N/A
HIGH 8,1
Attack Vector: network
Attack Complexity: high
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: high
Availability: high

Description

AI Translation Available

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.

94

Improper Control of Generation of Code ('Code Injection')

Draft
Common Consequences
Security Scopes Affected:
Access Control Integrity Confidentiality Availability Non-Repudiation
Potential Impacts:
Bypass Protection Mechanism Gain Privileges Or Assume Identity Execute Unauthorized Code Or Commands Hide Activities
Applicable Platforms
Languages: Interpreted
Technologies: AI/ML
View CWE Details
https://github.com/smarty-php/smarty/security/advisories/GHSA-3w63-v7pm-cq9x
https://github.com/smarty-php/smarty/commit/1cba51cb813563eb61d963c83d28cd59f26…
https://github.com/smarty-php/smarty/commit/c0fdd4824aca4f67e814b50703cfee1dfde…
https://github.com/smarty-php/smarty/releases/tag/v4.5.8
https://github.com/smarty-php/smarty/releases/tag/v5.8.5
https://github.com/smarty-php/smarty/security/advisories/GHSA-3w63-v7pm-cq9x
https://www.vulncheck.com/advisories/smarty-before-4.5.8-and-5-x-before-5.8.5-p…