CISA added CVE-2026-48356 to its Known Exploited Vulnerabilities list on October 27 and gave US federal agencies until November 10 to deal with it. If you run a Magento or Adobe Commerce store, the dates matter more than the deadline. Adobe's fix shipped on July 14. Attackers were using the bug in March. A store that stayed unpatched through the summer, or that patched in September, may have been compromised for months while looking perfectly healthy.

This guide covers the three questions that count: whether your version is fixed, whether someone got in before you patched, and how to stop an unpatched store from running whatever gets uploaded. Sansec, the security firm that found the bug and named it PolyShell, publishes the original research, and CISA's alert is the primary source for the listing.

Prerequisites: shell access to the web server, database read access, and a way to deploy Adobe's isolated patch to your release line. The commands below are generic Linux examples. Adjust the paths to your install, and run them on a copy of the logs if the host is busy.

A July patch, an exploit from March

The timeline is the awkward part. Sansec says probing began on March 16 and automated mass scanning on March 19. By the end of that month it reported blocking attempts against 79.5% of the Magento stores its Shield product protects. A wave on March 30 injected a malicious loader into 471 stores within one hour, according to Sansec's account as summarised by Threat Frontier.

Adobe's fix first appeared in the Magento 2.4.9 pre-release line. Sansec's update says Magento 2.4.9, released on May 12, contained it, but the fix wasn't backported to 2.4.8 and older, which is why many stores stayed exposed. Adobe's bulletin APSB26-73, dated July 14, supplied isolated patches for the supported lines. CISA's October listing is the signal that attacks are still going on, not that something new was found.

The Hacker News added more context on October 26: Sansec tied a campaign that infected 953 online stores, mostly Magento, to the same group. Of those, 471 were estimated to have received the loader through PolyShell, and another 102 had files uploaded through PolyShell or an older bug called SessionReaper. In one store Sansec examined, a CMS block pointed at a loader on additionalver.com, then switched to deepveindrilling[.]com on October 7. That store still lacked APSB26-73.

The same CISA alert also listed a Brotli decoder bug in Node.js. We covered the fix in our Node.js Brotli patch guide, which matters if your storefront has a Node front end.

What the bug actually does

Magento's REST API accepts file uploads as part of a cart item's custom options. When an option has type file, the server reads an embedded file_info object holding base64 data, a MIME type and a file name, then writes the file to pub/media/custom_options/quote/. Sansec lists three missing checks: the option ID isn't compared with the product's real options, the file branch runs even if the product has no file option, and nothing blocks php, phtml or phar extensions. The only test is an image-header check, and a polyglot file, one that is both a valid image and valid PHP, passes it.

The anonymous routes are the dangerous ones. Sansec names POST /V1/guest-carts/:cartId/items and PUT /V1/guest-carts/:cartId/items/:itemId, which need no login. GraphQL takes a different code path and isn't affected.

Whether an uploaded file becomes code depends on your web server. Sansec says remote code execution works on stock nginx for Magento 2.0.0 to 2.2.x, on any version with a non-standard nginx setup that hands every .php file to FastCGI, and on Apache before 2.3.5 without a php_flag engine 0 setting. Where execution is blocked, the file still sits on disk, and a later server migration could expose it.

Online shopper entering bank card details on a laptop at a web store checkout

Expand

Online shopper entering bank card details on a laptop at a web store checkout

Image: Bogdan Hoyaux / European Commission via Wikimedia Commons, CC BY 4.0

Scores differ by source. The CVE record, which NVD matches, gives 9.3 with a vector that includes user interaction. The bulletin page lists 9.6. Sansec describes exploitation with no login or user action. Don't let a scanner's lower number talk you out of treating this as urgent, because KEV listing means exploitation is confirmed.

What the CISA entry says, and what it leaves out

The KEV entry is short. It describes an unrestricted upload of a file with a dangerous type that could result in arbitrary code execution, lists the required action as applying vendor mitigations, and gives November 10 as the due date, 14 days after listing. It marks use in ransomware campaigns as Unknown, and it sets the forensic triage requirement under BOD 26-04 to No.

That last field is easy to misread. BOD 26-04 is the directive that tells federal agencies how to prioritise KEV items, and CISA says it also sets expectations for when agencies must check whether attackers got in before the patch. A "No" there doesn't mean your store is safe to assume clean. It reflects CISA's triage rules for federal assets, and CISA still encourages every organisation to adopt risk-based patching and treat KEV entries as the priority list. Private store owners have no such directive, so the check-for-compromise step is yours to decide on, and with exploitation reported since March it's the sensible default.

The other thing the entry leaves out is any sense of scale. For that you need Sansec's numbers, which come from its own customer base and so skew toward stores that already care about security. Take them as a floor for how widely the bug was probed, not a census.

Step 1: Confirm your build is fixed

Threat Frontier's table of fixed builds matches the CVE record's affected ranges. Bring the store to the latest security release on your branch first (2.4.9, 2.4.8-p5, 2.4.7-p10, 2.4.6-p15, 2.4.5-p17 or 2.4.4-p18), then apply the isolated patch. These patches ship as ZIP files, not Composer packages.

Branch Adobe Commerce Magento Open Source
2.4.9 2.4.9-2026-jul 2.4.9-2026-jul
2.4.8 2.4.8-2026-jul 2.4.8-2026-jul
2.4.7 2.4.7-2026-jul 2.4.7-2026-jul
2.4.6 2.4.6-2026-jul 2.4.6-2026-jul
2.4.5 2.4.5-2026-jul none listed
2.4.4 2.4.4-2026-jul none listed

Adobe Commerce B2B has matching -2026-jul patches for 1.5.3, 1.5.2, 1.4.2, 1.3.4 and 1.3.3, and the Adobe Commerce Events module is fixed in 1.21.0. Open Source stores on 2.4.5 or earlier have no patch listed and need an upgrade. We couldn't open Adobe's own bulletin page when preparing this piece, so confirm the exact patch names against APSB26-73 before you deploy.

Apply the July patch even on 2.4.9. Sansec's research says 2.4.9 carried a fix, but the CVE record and the secondary guides we checked list 2.4.9 among the affected builds, so don't assume the release number protects you.

Step 2: Look for planted files

This is the step people skip after patching. Run this from the Magento root:

CodeCopy 

find pub/media/custom_options/ -type f ! -name '.htaccess'

Any file ending in .php, .phtml or .phar is a strong sign of compromise. A legitimate store has no reason to keep executable files there. Then search the whole install for the backdoor name Sansec reported:

CodeCopy 

find /var/www -name 'accesson.php' -type f

Threat Frontier also lists names to check: 780index.php, bypass.phtml, c.php, rce.php and test.php. In the March wave, Sansec saw first-stage shells drop accesson.php backdoors into assets and images folders under many top-level directories, so searching beyond the upload folder is worth the extra minute.

Step 3: Check CMS blocks and pages

The attackers' loader lived in CMS content, not in code, which means a file scan alone misses it. Search the cms_block and cms_page tables for the domains reported in public write-ups: lanhd6549tdhse.top, jslibrary.net, canevaslab.com, additionalver.com and deepveindrilling.com, plus the string localStorage. A query along these lines does it, and the column names are the standard Magento ones:

CodeCopy 

SELECT block_id, identifier, update_time FROM cms_block WHERE content LIKE '%deepveindrilling%' OR content LIKE '%additionalver%' OR content LIKE '%lanhd6549tdhse%' OR content LIKE '%jslibrary%' OR content LIKE '%canevaslab%';

Repeat it against cms_page. A block updated on a day nobody on your team touched content is worth reading, even if it matches no domain, because the group has already rotated loader domains once.

Step 4: Read the access logs

Look for POST or PUT requests to the guest-cart item routes, especially ones carrying a file-type option on products that have no file option. A starting point:

CodeCopy 

grep -E '(POST|PUT) .*/V1/guest-carts/[^/]+/items' /var/log/nginx/access.log

Normal shoppers use these routes to add items, so expect plenty of noise. What you're after are requests with unusually large bodies, odd file names, or a burst from one address. The request body won't be in a default access log, so your web application firewall's logs may tell you more than nginx does.

Step 5: Stop execution while you patch

If you can't patch today, stop uploaded files from running. Sansec's nginx block must sit inside your server configuration before any .php location block, otherwise the PHP handler takes precedence and the shells stay executable:

CodeCopy 

location ~* ^/pub/media/custom_options/ { deny all; return 403; }

On Apache, check that pub/media/custom_options/.htaccess exists and contains php_flag engine 0 inside the mod_php.c conditional, plus Deny from all. If you use a non-default AccessFileName, rename the file to match. Then confirm the block works by requesting a harmless test file from that folder and checking that you get a 403.

This does not stop uploads. Sansec is explicit that blocking web access leaves the write path open, and that only a firewall rule on the API call itself stops the attack. A rule that blocks the whole guest-cart route may break guest checkout, so target requests whose body contains a file_info field rather than the route as a whole, and test it on staging first.

Rows of server racks in a data hall connected by thick cable bundles

Expand

Rows of server racks in a data hall connected by thick cable bundles

Image: Florian Hirzinger via Wikimedia Commons, CC BY-SA 3.0

If you find something

Treat it as an incident, not a cleanup. Threat Frontier's advice, and the logic is hard to argue with, is to rotate admin and API credentials and review your admin users. Patching does not remove an existing foothold. After that, read your checkout templates and CMS blocks for injected JavaScript, since the loader in the March wave fingerprinted visitors and can support card skimming at checkout. If your store takes cards, tell your payment processor early, because they would rather hear it from you than from a fraud report.

Troubleshooting

The patch won't apply. Make sure the store is on the latest security release of its branch first. Isolated patches assume it. If you're on Open Source 2.4.5 or older, there's no patch to apply and you need an upgrade.

The nginx deny doesn't seem to work. The usual reason is ordering: the PHP location block is matching first. Move the new block above it, reload nginx, and test again with a request that should return 403.

The scan comes back clean. Sansec warns that indicators change and that a clean search does not prove a clean store. If you were exposed during the spring waves, consider a full malware scan or a rebuild from a known-good image on top of the four checks above.

Your scanner scores it differently from this guide. That's the 9.3 against 9.6 gap. Both are critical, so keep it at the top of the queue.

Hero image: Victor Grigas via Wikimedia Commons, CC BY-SA 3.0

Originally published on Mango Developer.