Featured image of post Magento 2.4.9 and earlier affected by a critical vulnerability enabling remote PHP code execution

Magento 2.4.9 and earlier affected by a critical vulnerability enabling remote PHP code execution

Critical vulnerability CVE-2026-103849 (BlockStrap) can allow remote PHP code execution on Magento and Adobe Commerce servers. It affects September versions through Magento 2.4.9 and Adobe Commerce B2B 1.5.3. Adobe's October 13 advisory rated it priority 2; Sansec says it underestimates the risk. Upgrade to the 2026-oct release or apply the isolation patch, and retain the September VULN-39341 hotfix. Source: BleepingComputer

E-commerce security firm Sansec warns: Magento and Adobe Commerce’s email template engine has a critical vulnerability that attackers may soon exploit to execute arbitrary PHP code on merchant servers.

  • Vulnerability ID: CVE-2026-103849, codename BlockStrap, critical severity
  • Timeline: Adobe published a security bulletin on October 13, 2026; BleepingComputer reported it on October 16
  • Scope: Adobe Commerce and Magento Open Source September releases through 2.4.9; Adobe Commerce B2B through 1.5.3
  • Exploitation status: No real-world attacks observed yet, but Sansec expects widespread exploitation soon
  • Remediation: Upgrade to the 2026-oct release or apply Adobe’s isolated patch, and keep the September VULN-39341 hotfix

Vulnerability mechanism: child template content is reprocessed at the root level

Vulnerability mechanism: child template content is reprocessed at the root level
Vulnerability mechanism: child template content is reprocessed at the root level|News screenshot

Adobe’s bulletin describes the issue as “improper neutralization of special elements in the template engine,” resulting in arbitrary code execution. Sansec’s explanation is more specific: BlockStrap is an instruction injection involving a “second template parsing” pass.

The template engine renders placeholders and directives (such as {{block}}) into the final emails or pages that get sent, and is an essential part of e-commerce systems sending order confirmations and shipment notifications. “Arbitrary PHP code execution” means attackers can not only read data, but also run their own scripts on the server.

According to Sansec’s analysis, attacker-controlled content in child email templates is signed and processed again at the root level, so smuggled-in {{block}} directives are executed—data that should affect only the child template improperly enters a higher-level processing flow.

Sansec also notes that BlockStrap exposes exactly the gap left by the StyleSmuggler patch in the same email template engine; Adobe’s fix replaces the generic processing flow with registered placeholders.

The rating contrast: Adobe allows 30 days, but a similar vulnerability was mass-exploited in 3 days

The most noteworthy part of this incident isn’t the vulnerability itself, but the rating discrepancy.

Adobe rates the vulnerability as priority 2, corresponding to a “patch within 30 days” window. Sansec explicitly questions this rating as failing to reflect the real danger and urgency, despite the more complex attack path.

There are two reasons. First, AI lowers the exploitation barrier. In Sansec’s own words: the attack path is indeed complex, but “anyone with an AI agent can reverse the patch into working exploit code in a relatively short time.” Second, there is precedent with a similar vulnerability: it took only three days for StyleSmuggler to go from a priority 1 hotfix to widespread exploitation, and BlockStrap’s complexity is comparable.

Seen side by side, the two numbers make the contrast stark: the vendor gives a 30-day patching window, while a vulnerability of comparable complexity entered widespread exploitation in three days. Sansec also says it identified four potential attack paths involving CVE-2026-103849 in less than 24 hours.

Affected versions and remediation requirements

Affected versions and remediation requirements
Affected versions and remediation requirements|News screenshot

ProductAffected versionsRemediation
Adobe Commerce / Magento Open SourceSeptember release through 2.4.9Upgrade to the 2026-oct release or apply the isolated patch
Adobe Commerce B2BThrough 1.5.3Same as above, and keep the September VULN-39341 hotfix

Who needs to act immediately

If you operate a store built on Magento Open Source or Adobe Commerce, especially one still on a 2.4.x version, there is no room to “wait and see” on this one. Simply running a Composer install is not enough to mitigate the risk—Composer is PHP’s dependency manager; it updates dependency packages and will not carry out Adobe’s patching strategy for you, Sansec specifically emphasizes this.

There are two things to do: apply the 2026-oct release or Adobe’s isolated patch; and keep the September VULN-39341 hotfix, because BlockStrap and StyleSmuggler are two separate fixes, and both must be in place.

Operations and security teams can make email template rendering paths a monitoring priority and watch for Sansec’s later updates on waves of widespread attacks. For systems that have applied 2026-oct and still have the old hotfix in place, the risk surface has narrowed, but do not remove the old patch early.

Final thoughts

Adobe’s 30-day patching window, set against the record of a similar vulnerability being widely exploited in three days, shows that traditional ratings can no longer provide much buffer time in the face of AI-assisted reverse engineering. For merchants, the email template engine—normally an unremarkable component—has become an entry point that needs to be patched first.