CVE-2026-103849
CVE-2026-103849: How to Detect & Patch Magento BlockStrap RCE
Executive Vulnerability Brief & Attack Vector
Sansec warns of BlockStrap (CVE-2026-103849), a CVSS 10.0 directive injection flaw allowing unauthenticated RCE on Magento stores. Here is how to defend.
Terminal Triage Runbook & Exposure Verification
curl -I -s -k -m 5 "https://TARGET-HOST:PORT/" | grep -Ei "(server|x-powered-by|version)"Quick probe to verify remote server header exposure and identify listening versions without sending destructive payloads.
ss -tulpn | grep -Ei "(80|443|8080|8443|app)" ; ps aux | grep -Ei "daemon"Inspect active listening sockets and running process arguments on suspected victim hosts to confirm if exposed services are active.
find /tmp /var/tmp /dev/shm -mtime -7 -type f -exec ls -la {} + 2>/dev/nullSearch Linux scratch directories for dropped secondary payloads, ELF droppers, or staged reverse shells executed via this vulnerability.
Production Detection Queries (Sentinel KQL & Sigma)
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, useragentCampaign Indicators of Compromise (5 IOCs)
Have updated exploit telemetry, unlisted PoC repository, or triage runbook correction for CVE-2026-103849?