Critical Magento Flaw 'BlockStrap' Enables Arbitrary PHP Code Execution
Original source
Critical BlockStrap flaw lets hackers run code on Magento servers
BleepingComputer →Sansec has identified a maximum-severity vulnerability (CVE-2026-103849), dubbed BlockStrap, in Magento Open Source through 2.4.9 and Adobe Commerce B2B through 1.5.3. The flaw is a second-pass template engine directive injection: attacker-controlled content in a child email template gets re-signed and processed at the root level, executing a smuggled {{block}} directive that leads to arbitrary PHP code execution. It represents a gap left behind by the earlier StyleSmuggler fix in the same email-template engine. Sansec noted that researchers mapped four viable attack paths in under 24 hours, and while no exploitation has been observed yet, the firm expects threat actors to weaponize it quickly. Adobe’s fix replaces generic template processing with registered placeholders to block the injection vector.
Sansec pushed back on Adobe’s priority-2 rating (patch within 30 days), arguing it understates the urgency. The firm pointed out that the StyleSmuggler variant went from a priority-1 hotfix to mass exploitation in three days, and BlockStrap is of similar complexity. They also warned that AI agents could reverse-engineer the patch into working exploits in a short timeframe, further compressing the window before widespread attacks. Administrators must apply both the September VULN-39341 hotfix and the October 2026 release; a plain Composer install alone is insufficient.
Read the full article
Continue reading at BleepingComputer →This is an AI-generated summary. Read the original for the full story.