---
title: "Magento File Upload Check (CVE-2026-48356)"
canonical: https://trickest.com/library/magento-file-upload-check-cve-2026-48356
description: "Probe Magento stores for the CVE-2026-48356 PolyShell upload with a benign image differential, then read-only IoC checks for known webshells and loaders."
---

# Magento File Upload Check (CVE-2026-48356)

## Overview

This workflow checks Magento and Adobe Commerce stores for CVE-2026-48356, the guest-cart file upload Adobe fixed in APSB26-73 and security researchers call PolyShell, a researcher label. The store accepts a base64 file on a cart item whether or not the product has a file option, and the upload lands under the media directory where a polyglot image can become a webshell. Attackers have run this as a mass campaign since March 2026, CISA listed it on KEV, and the remediation window has closed. Give the workflow store URLs and it reads the unauthenticated version endpoint, runs one benign image upload through the guest-cart API, then walks the store read-only for the loader and webshell names the campaign uses. Every host comes back with a verdict you can feed into [exposure management](/use-cases/exposure-management).

The upload carries a tiny valid PNG with a random filename and zero executable content, so the probe tests the missing checks without ever placing a script on the target.

## Pipeline

1. GET `/magento_version` on each store to confirm Magento and capture the release line and edition. A line in the affected range is an exposure label, never a vulnerable verdict.
2. Create a throwaway guest cart with one unauthenticated POST, then send one cart item whose custom option carries a `file_info` object holding a tiny valid PNG under a random innocuous filename.
3. Read the answer: an accepted upload with a saved-file reference means the store is missing the APSB26-73 fix; a rejection with an option or upload error means patched; anything else stays inconclusive.
4. Run the read-only compromise pass: scan fetched pages for the campaign loader markers and GET known webshell filenames under the media upload path, never POSTing to a suspected shell.
5. Reconcile one verdict per target, flag compromise evidence as an incident-response row, and write the findings plus summary.

## Inputs

- **Target list.** Store base URLs you are authorized to test. The default file ships a sample fleet list; bind your own.

## Outputs

- **findings.jsonl.** One row per store: target, Magento line and edition, upload differential result, IoC hits, overall verdict, severity keyed to the verdict, and a note of which basis the verdict used.
- **summary.jsonl.** One line with verdict counts and the sorted target lists per verdict.

## Integrations

- HTTP. Unauthenticated GET of the version endpoint and public pages, one POST pair against the guest-cart API with a harmless image, and GET-only reads of suspected upload paths.

## Sample output

The records below are illustrative and do not come from a real run. They show a store missing the fix, a patched store, and a store where the compromise pass found a known backdoor name.

```jsonl
{"target": "https://shop-a.example.com", "is_magento": true, "magento_version": "2.4.7", "edition": "Community", "upload_verdict": "missing_APSB2673", "upload_detail": "upload accepted, saved-file reference returned", "ioc_hits": [], "verdict": "missing_apsb2673", "severity": "CRITICAL", "incident_response": false, "error": null}
{"target": "https://shop-b.example.org", "is_magento": true, "magento_version": "2.4.8", "edition": "Enterprise", "upload_verdict": "patched", "upload_detail": "upload rejected 400: option not found", "ioc_hits": [], "verdict": "patched", "severity": "INFO", "incident_response": false, "error": null}
{"target": "https://shop-c.example.net", "is_magento": true, "magento_version": "2.4.6", "edition": "Enterprise", "upload_verdict": "missing_APSB2673", "upload_detail": "upload accepted, saved-file reference returned", "ioc_hits": ["webshell_path_200:accesson.php"], "verdict": "likely_compromised", "severity": "CRITICAL", "incident_response": true, "error": null}
```

```json
{"cve": "CVE-2026-48356", "product": "Adobe Commerce / Magento", "total_targets": 3, "verdict_counts": {"missing_apsb2673": 1, "patched": 1, "likely_compromised": 1}, "likely_compromised_targets": ["https://shop-c.example.net"], "missing_fix_targets": ["https://shop-a.example.com"], "patched_targets": ["https://shop-b.example.org"], "exposed_targets": [], "inconclusive_targets": [], "error_targets": []}
```

## FAQ

### Does the probe upload executable content?

No. The file is a tiny valid PNG under a random innocuous name with no script content. It tests the three checks the patch added without ever placing a file that could execute. A small image may persist under the store's media upload path; treat that as a known, disclosed side effect of the probe.

### Can this workflow be validated before we trust its verdicts?

Validate the differential on a lab instance before shipping: the patched-response shape (which 4xx text counts as a rejection) is derived from the root-cause analysis, and the exact patched wording can vary by version. Until that lab check passes, treat upload verdicts as indicative rather than final.

### What do the verdict names mean?

`missing_apsb2673` means the upload differential proved the store accepts a file it should reject. `exposed_possibly_vulnerable` is the version-only label for stores where the upload could not be attempted. `likely_compromised` means the read-only pass found a loader marker or a serving webshell name, and that row belongs with incident response, not just patching.

### Which versions are affected?

The Jul-2026 APSB26-73 builds are the fix: Commerce 2.4.4 through 2.4.9 `-2026-jul`, B2B 1.3.3 through 1.5.3 `-2026-jul`, and Events 1.21.0. The public version endpoint shows the release line and edition but not the patch build, which is why version-only results stay an exposure label.

### What is CVE-2026-48356?

Unrestricted file upload in the Magento REST guest-cart custom options path. CISA listed it on KEV in October 2026 after months of mass exploitation.

## Related workflows

- [PHP CGI RCE (CVE-2024-4577)](/library/php-cgi-rce-check-cve-2024-4577). Reach for it when the next mass-exploited upload bug is a Windows PHP CGI host, not a store.
- [cPanel & WHM File Write (CVE-2026-65643)](/library/cpanel-rce-check-cve-2026-65643). Reach for it when the next flag is a hosting control panel.
- [LiteLLM SQL Injection (CVE-2026-42208)](/library/litellm-sql-injection-check-cve-2026-42208). Reach for it when the next unauthenticated API surface is a model proxy.

---
_Markdown source of https://trickest.com/library/magento-file-upload-check-cve-2026-48356._
