AZSecureby Azguards Technolabs

Exploited vulnerabilities · Magento

SessionReaper (CVE-2025-54236)

A REST API flaw that lets attackers take over customer accounts, and run code on stores that keep sessions as files.

Actively exploited (CISA KEV)CVE-2025-54236CVSS 9.1 (critical)

Free website scan

Is your store serving malware right now?

Checks home, product, cart and checkout pages, blocklists, exposed files and spam shown only to Google. Takes about a minute.

How SessionReaper works

SessionReaper is an input validation bug in the Magento REST API. Adobe's bulletin describes the impact as customer account takeover without logging in. Researchers at Sansec and Searchlight Cyber went further and showed it can be used to run code on the server, most easily on stores that keep sessions as files on disk, which is Magento's default.

Adobe shipped a hotfix with bulletin APSB25-88 in September 2025. About six weeks later the attacks started: Sansec blocked more than 250 attempts on the first day, when most stores were still unpatched. CISA added it to its known exploited list two days after that.

What attackers do with it

  • Customer accounts taken over without a password.
  • Code running on your server, most easily on stores using file-based sessions. The attacks Sansec saw dropped PHP backdoors used to run commands, upload files and steal credentials.

Signs of a SessionReaper compromise

  • PHP files in pub/, pub/media or var/ that aren't part of Magento. Webshells uploaded this way tend to land there.
  • Files in var/session that don't look like session data.
  • Customers reporting changed details, or logins from places they've never been.

How to fix SessionReaper

  1. Install Adobe's APSB25-88 hotfix, or a patch release that includes the fix (2.4.8-p3, 2.4.7-p8, 2.4.6-p13 or later). Don't wait for your next planned upgrade.
  2. Search pub/, pub/media and var/ for PHP files that don't belong there and remove any backdoors.
  3. Think about moving sessions to Redis or the database.
  4. If you find anything, check checkout for injected scripts and rotate the encryption key.

Check if your Magento site is exposed

The free scan can't tell from outside whether the hotfix is installed. It does check your storefront and checkout for skimmers and malicious domains. A deep scan looks for the patch on the server and searches pub/ and var/ for webshells.

Patched late, or not sure when?

A deep scan checks your installed version against this advisory and looks for what attackers leave behind, with read-only access. An Azguards engineer signs off the report.

Common questions about SessionReaper

We use Redis for sessions. Do we still need the hotfix?

Yes. The published code execution route relies on file-based sessions, but Sansec warned that Redis-backed stores may be exploitable too, and account takeover works either way.

We patched a few weeks late. What now?

Assume someone tried. Check pub/, pub/media and var/ for PHP files you don't recognise, check checkout for new scripts, and rotate keys if anything turns up.

Sources

Reviewed by Ali, Azguards security team. Last updated 9 Nov 2026.