If your Magento store hasn’t had a security update since September 2025, stop and check this one.

At a glance

  • CVE: CVE-2025-54236 — nicknamed “SessionReaper” by Sansec. Adobe’s bulletin is APSB25-88.
  • Severity: 9.1 (Critical). No login needed.
  • Affected: Adobe Commerce 2.4.9-alpha2, 2.4.8-p2, 2.4.7-p7, 2.4.6-p12, 2.4.5-p14, 2.4.4-p15 and earlier; Magento Open Source 2.4.9-alpha2, 2.4.8-p2, 2.4.7-p7, 2.4.6-p12, 2.4.5-p14 and earlier; and Adobe Commerce B2B 1.5.3-alpha2, 1.5.2-p2, 1.4.2-p7, 1.3.4-p14, 1.3.3-p15 and earlier.
  • Known exploited: Yes — Adobe confirmed it in October 2025, and CISA added it to the KEV list on 2025-10-24.

What’s going on

Adobe describes SessionReaper as an input-validation bug in the Commerce REST API that lets an attacker take over customer accounts — no login, no clicking on the victim’s side. Sansec, who named it, says it’s worse than that sounds: it pairs a malicious session with a nested deserialization bug (PHP turning attacker-supplied data back into live objects), and under some conditions it leads to remote code execution. The code-execution route they reproduced seems to need file-based session storage, but they still told Redis and database-session stores to patch right away.

Attacks kicked off on 2025-10-22, after a public analysis of the bug, and spread fast. Sansec saw attackers drop PHP backdoors disguised as session files through the customer address file upload, /customer/address_file/upload. One catch they flagged: Adobe’s fix closed the deserialization bug, not that upload, so those junk files can land even on a patched store.

Timeline

  • Disclosed and hotfix released: 2025-09-09 (APSB25-88)
  • Regular patch releases with the fix: 2025-10-14 (2.4.8-p3 and friends)
  • Exploited in the wild: from 2025-10-22, per Sansec and Adobe
  • Added to CISA KEV: 2025-10-24 (Adobe raised the bulletin to priority 1 the same day)

== UPDATE ==

The fix has been out for over a year, so this is mostly about making sure you actually got it — and checking for leftovers.

  • Patch available: Yep.
  • Fixed in: Adobe’s hotfix VULN-32437-2-4-X-patch (linked from KB article KA-27397). The October 2025 security releases roll it in too: Adobe Commerce 2.4.8-p3, 2.4.7-p8, 2.4.6-p13, 2.4.5-p15 and 2.4.4-p16, and Magento Open Source 2.4.8-p3, 2.4.7-p8 and 2.4.6-p13. Anything newer on your line has it as well. (Magento Open Source 2.4.5 didn’t get a new release in that round, so there it’s the hotfix or an upgrade.)
  • How to apply: Move to the latest patch release on your line, or apply the hotfix as a Composer patch the way Adobe’s KB describes. B2B stores should update to the matching B2B patch release afterwards. The fix tightens how the REST API builds objects, so custom code can break — Adobe’s release notes point developers to its “REST API constructor parameter validation” guide. Adobe Commerce Cloud got WAF rules, but Adobe still says to apply the hotfix.
  • If you can’t patch yet: Sansec recommends putting a WAF in front of the store until you can. Either way, scan for backdoors, and if you find any, rotate your crypt key, reset admin passwords and delete unknown API integrations. To stop the upload trick, Sansec suggests disabling the customer address upload controller or removing write permission on pub/media/customer_address/*/* — blocking the one URL isn’t enough, since there are other ways to reach it.

References