Fix Library: Security

How to Check if Your Store Is Patched Against SessionReaper (CVE-2025-54236)

Last updated:

What you see

You read about SessionReaper and do not know whether your store has the fix.

Quick answer

Your store is affected if it runs 2.4.9-alpha2, 2.4.8-p2, 2.4.7-p7, 2.4.6-p12, 2.4.5-p14, 2.4.4-p15 or an earlier version without the fix. Adobe's hotfix is VULN-32437-2-4-X-patch (bulletin APSB25-88), and 2.4.8-p3, 2.4.7-p8 and 2.4.6-p13 already include the fix. Also check for uploaded backdoor files: Sansec reports these uploads happen even on patched stores.

What usually causes it?

  1. The store has not had a security patch since before 9 September 2025
  2. A hotfix was applied to one environment but not deployed to production
  3. The store runs a version that no longer receives security patches

How do you check it safely?

These checks only read information. Run them on staging first if you can, from the Magento root folder as the file system owner. Hosting setups differ, so paths and service names may need adjusting.

  1. Check the exact Magento version.
    bin/magento --version
    composer show magento/product-community-edition 2>/dev/null || composer show magento/product-enterprise-edition
  2. Compare it with the affected versions: 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. Versions 2.4.8-p3, 2.4.7-p8, 2.4.6-p13 and later already include the fix. On the 2.4.5 and 2.4.4 lines, check for the hotfix or the patch release listed in Adobe's bulletin.
  3. If the hotfix VULN-32437-2-4-X-patch was applied separately, look for it in the Git history, composer.json or a patches folder (m2-hotfixes on Adobe Commerce Cloud).
    git log --oneline | grep -i -E 'VULN-32437|apsb25|sessionreaper'
    grep -rl 'VULN-32437' composer.json patches m2-hotfixes 2>/dev/null
  4. See how sessions are stored. The known remote code execution path needs file based sessions.
    grep -n -A6 "'session'" app/etc/env.php
  5. Look for unexpected files in the customer address upload folder, where backdoors have been uploaded as fake sessions.
    find pub/media/customer_address -type f ! -iname '*.jpg' ! -iname '*.jpeg' ! -iname '*.png' ! -iname '*.gif' ! -iname '*.pdf'

How do you fix it?

These steps change your store. Run them on staging first, with a backup of code and database.

  1. Apply the Adobe fix: upgrade to 2.4.8-p3, 2.4.7-p8, 2.4.6-p13 or later, or apply the VULN-32437-2-4-X-patch hotfix if an upgrade must wait. Test on staging first.
  2. Move sessions to Redis or Valkey if they are stored in files. This removes the known remote code execution path, but is not a replacement for the patch.
  3. If you found suspicious files in pub/media/customer_address, treat the store as compromised and follow the hacked store checklist.
  4. Set up a routine so future security patches are applied within weeks, not months.

When should you call an expert?

Call an expert if your version is too old to receive the fix, if the patch fails to apply, or if you find unexpected files in the upload folder.

Need it fixed today?

I can look at it with you. Book a 20 minute call, or if the store is down, see emergency Magento support.

Further reading

Latest Adobe security update

APSB26-153, fixes released 13 October 2026. Adobe Commerce security update APSB26-153 (October 2026, priority 2): who is affected, what the critical fixes cover, and what to do now.

Read the plain English summary →

FAQ

Common questions.

Is my store safe if I use Redis for sessions?

Safer, but not safe. Redis removes the known remote code execution path, but Sansec reports other ways to abuse the bug. Apply the patch either way.

Does the patch remove backdoors that were already uploaded?

No. The patch fixes the session bug. Files uploaded before or after it stay on the server until someone removes them.

Rather have it fixed for you?

Send a few lines about the problem, or book a 20 minute call. You get an honest read and a fixed quote.

Book a 20 minute call Reply within a few hours, 7 days a week.