Skip to main content

CVE-2026-103849 Hunt Query

The flaw is a second-pass template directive injection (CWE-1336) that bypasses prior StyleSmuggler protections by cryptographically signing child email templates with smuggled `{{block}}` directives, executing arbitrary PHP in the root template context.

index=web (sourcetype=access_combined OR sourcetype=nginx:access)
| eval uri_decoded=urldecode(uri)
| where (like(uri_decoded, "%{{block%") OR like(uri_decoded, "%{{config%") OR like(uri_decoded, "%{{layout%"))
     OR (like(uri_decoded, "%/pub/media/%.php") AND status=200)
| table _time, clientip, method, uri_decoded, status, useragent
Need to defang indicators or test triage logs?
Use our zero-telemetry client-side parser to extract, defang & format indicators.
Open SOC Defanger Workbench
Target Log Sources & Tables
DeviceProcessEvents

Ensure telemetry connector is actively ingesting this table into your Sentinel workspace or Defender XDR.

False Positives & Tuning Guidance

Legitimate administrative software deployment scripts, authorized security testing, or system maintenance tasks.

Source Incident Analysis

CVE-2026-103849: How to Detect & Patch Magento BlockStrap RCE

Disclosed: 2026-10-17

Read Attack Chain
DETECTION_ENGINEERING_FEEDBACK

Have tuning recommendations, encounter false positives in your environment, or want to contribute rule improvements?

Submit Feedback →