What is Adobe Commerce / Magento?
Adobe Commerce (formerly Magento Commerce) and Magento Open Source are the world's most widely deployed e-commerce platforms, powering hundreds of thousands of online stores globally — from small businesses to large enterprises. The platform handles payment processing, customer accounts, product catalogs, and order management. Magento is a persistent target for threat actors seeking to deploy payment card skimmers (Magecart attacks), steal customer data, and access stored payment credentials. The Commerce REST API provides programmatic access to nearly all store functions and is commonly used by integrations and mobile apps.
Overview
CVE-2025-54236 (nicknamed SessionReaper by Sansec) is a critical improper input validation vulnerability (CWE-20) in Adobe Commerce and Magento Open Source's REST API. The /V1/customers/address_file/upload endpoint accepts file uploads that are stored as PHP session data. On systems using file-based PHP session storage, a maliciously crafted upload triggers a nested deserialization chain that escalates from unauthorized file write to full unauthenticated remote code execution. Mass exploitation began on 22 October 2025, with over 250 stores compromised overnight and over 60% of global Magento stores unpatched at the time of initial exploitation.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| Adobe Commerce 2.4.9-alpha2 and earlier | All | Hotfix VULN-32437-2-4-X-patch |
| Adobe Commerce 2.4.8-p2 and earlier | All | Hotfix VULN-32437-2-4-X-patch |
| Adobe Commerce 2.4.7-p7 and earlier | All | Hotfix VULN-32437-2-4-X-patch |
| Adobe Commerce 2.4.6-p12 and earlier | All | Hotfix VULN-32437-2-4-X-patch |
| Adobe Commerce 2.4.5-p14 and earlier | All | Hotfix VULN-32437-2-4-X-patch |
| Adobe Commerce 2.4.4-p15 and earlier | All | Hotfix VULN-32437-2-4-X-patch |
| Magento Open Source (same version ranges) | All | Hotfix VULN-32437-2-4-X-patch |
| Adobe Commerce B2B (corresponding versions) | All | Hotfix VULN-32437-2-4-X-patch |
Also update the Custom Attributes Serializable module to version 0.4.0 or higher.
Technical Details
The vulnerability (CWE-20: Improper Input Validation) is in Magento's customer address file upload endpoint and the Custom Attributes module. The REST API endpoint /V1/customers/address_file/upload allows uploading files that are associated with customer address records. These files are stored as PHP-serialized data in session files on the filesystem.
The exploit chain works as follows:
- Attacker uploads a malicious file via the REST API endpoint — no authentication required.
- The uploaded content is stored as PHP-serialized session data on the server filesystem.
- When PHP processes a subsequent request and loads the session data, it deserializes the malicious content.
- The deserialization triggers a PHP gadget chain in Magento's Custom Attributes Serializable module, escalating from file write to OS command execution.
Observed attack payloads deployed PHP webshells and phpinfo() probes for reconnaissance. The attack does not require any prior account, session, or authentication.
Discovery
Discovered by Blaklis via Adobe's HackerOne bug bounty program in August 2025. Sansec named the vulnerability "SessionReaper" and published the September 9, 2025 disclosure.
Exploitation Context
Mass exploitation began on 22 October 2025, three weeks before the CISA deadline. Over 250 Adobe Commerce and Magento stores were compromised in a single overnight wave — with automated attacks deploying PHP webshells and phpinfo probes. Sansec's threat intelligence reported that over 60% of global Magento stores were still running unpatched versions at the time of mass exploitation. CISA added CVE-2025-54236 to the KEV catalog on 24 October 2025. No specific named threat actor has been attributed; the automated, wide-scale exploitation pattern is consistent with Magecart-affiliated criminal actors known for targeting Magento stores.
Remediation
- Apply hotfix VULN-32437-2-4-X-patch immediately — download from the Adobe Commerce Marketplace or via Composer. Follow the Adobe APSB25-88 guidance.
- Update the Custom Attributes Serializable module to version 0.4.0 or higher.
- Hunt for webshells: search the Magento file system for unexpected
.phpfiles inpub/,var/,generated/, or upload directories. Use file integrity monitoring tools (e.g., Sansec eComscan). - Review PHP session files in
var/session/for anomalous content — malicious session files contain PHP-serialized gadget chains rather than normal session data. - Check for unauthorized admin accounts in Magento Admin → System → All Users.
- Review payment integrations and checkout pages for Magecart skimmer injection — compromised stores are often subsequently used to harvest payment card data.
- Enable Magento Two-Factor Authentication for admin accounts to reduce the risk of admin panel takeover following webshell deployment.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2025-54236 |
| Vendor / Product | Adobe — Commerce and Magento |
| NVD Published | 2025-09-09 |
| NVD Last Modified | 2026-04-01 |
| CVSS 3.1 Score | 9.1 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Severity | CRITICAL |
| CWE | CWE-20 find similar ↗ |
| CISA KEV Added | 2025-10-24 |
| CISA KEV Deadline | 2025-11-14 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2025-09-09 | CVE published; Sansec names the vulnerability 'SessionReaper'; hotfix released |
| 2025-10-22 | Mass exploitation begins — over 250 Adobe Commerce and Magento stores compromised overnight |
| 2025-10-24 | CISA adds to Known Exploited Vulnerabilities catalog; over 60% of global Magento stores still unpatched |
| 2025-11-14 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Adobe APSB25-88 Hotfix Guidance | Vendor Advisory |
| NVD — CVE-2025-54236 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Sansec — SessionReaper: CVE-2025-54236 Discovery | Security Research |
| Sansec — SessionReaper Exploitation in the Wild | Security Research |
| Over 250 Magento Stores Hit Overnight via SessionReaper | News |
| BleepingComputer — Hackers Exploiting SessionReaper in Adobe Magento | News |
| Arctic Wolf — CVE-2025-54236 Analysis | Security Research |