Exploit database

Vulnerability

CVE-2025-54236

Adobe Commerce | Improper Input Validation (CWE-20)

Vulnerability details

Score
9.1
Severity
critical

CVSS 3.1 · adobe

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

Adobe Commerce 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 are affected by an Improper Input Validation vulnerability. A successful attacker can abuse this to achieve session takeover, increasing the confidentiality, and integrity impact to high. Exploitation of this issue does not require user interaction.

CVE Program

Exploit source choices

7 sources
Magento SessionReaper
MSF-multi--http--magento_sessionreaperMetasploitLinux,PHP,Unix,Windows / remotePreferred

This module exploits CVE-2025-54236 (SessionReaper), a critical vulnerability in Magento/Adobe Commerce that allows unauthenticated remote code execution. The vulnerability stems from improper handling of nested deserialization in the payment method context, combined with an unauthenticated file upload endpoint. The exploit chain consists of three steps: 1. Upload a malicious PHP session file containing a Guzzle/FW1 deserialization payload via the unauthenticated /customer/address_file/upload endpoint 2. Trigger deserialization by sending a crafted JSON payload to the REST API endpoint /rest/default/V1/guest-carts/{cart_id}/order that modifies the session savePath to point to the uploaded file 3. Execute the uploaded PHP code to gain remote code execution This vulnerability affects Magento 2.x instances configured to use file-based session storage. Patched versions will return a 400 Bad Request response instead of processing the malicious payload.

2025-10-22magento_sessionreaper.rb
wubinworks/magento2-session-reaper-patch
GH-18afe34b299ae2aa853a85b5af8b18f0GitHubUnofficial GitHub source

Patch for CVE-2025-54236(a.k.a Session Reaper) which allows customer account takeover and RCE under certain conditions. This patch is actually a Magento 2 extension and universal compatible for Magento 2.3 & 2.4. If you cannot upgrade Magento or cannot apply the official hotfix, try this one.

2025-10-1913 files · 4 stars
amalpvatayam67/day01-sessionreaper-lab
GH-3cd9154e41bff0542af809bad8bf59ccGitHubUnofficial GitHub source

This is a tiny lab that simulates the core idea reported for CVE-2025-54236 (“SessionReaper”)

2025-09-107 files · 0 stars
bigcartenergy/module-sessionreaper-patch
GH-91b29c8c7a8618bbbeeb57c03858331bGitHubUnofficial GitHub source

Free security patch for Magento Open Source and Mage-OS by Big Cart Energy: closes CVE-2025-54236 (SessionReaper) on the Magento 2.3 and 2.4 releases that have no official fix, as one plugin on the Web API input processor that applies the allow-list of Adobe's fix. No core file is modified.

2026-11-0725 files · 0 stars
brito101/session_reaper_lab
GH-dd9e9048e812483e168bbf81e1368681GitHubUnofficial GitHub source

Ambiente Docker para demonstração prática da CVE-2025-54236 (SessionReaper): PHP Object Deserialization levando a RCE em Magento Open Source 2.4.7

2026-05-2415 files · 0 stars