PT-2026-37249 · Openmage+1 · Magento-Lts+1

Published

2026-05-05

·

Updated

2026-05-18

·

CVE-2026-42155

CVSS v4.0

9.3

Critical

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Magento Long Term Support (LTS) versions prior to 20.18.0
Description The XML-RPC and SOAP API session ID is generated using an outdated, time-based construction instead of a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG). The generation process relies on the start() function, which uses an MD5 hash of time-derived and non-secure inputs, including time() and uniqid(). Because the resulting digest depends on the timestamp and the PHP internal Linear Congruential Generator (LCG) state, the entropy is severely limited.
An attacker can narrow the LCG window through server state leaks or predictability and, by exploiting the lack of API rate-limiting, execute a high-speed online brute-force attack to hijack active API sessions. This affects the following endpoints:
  • '/api/xmlrpc/'
  • '/api/soap/'
  • '/api/v2 soap/'
  • '/api/rest/'
Recommendations Update to version 20.18.0. As a temporary workaround, restrict access to the vulnerable API endpoints '/api/xmlrpc/', '/api/soap/', '/api/v2 soap/', and '/api/rest/' to minimize the risk of exploitation.

Exploit

Fix

Use of Insufficiently Random Values

Weakness Enumeration

Related Identifiers

CVE-2026-42155
GHSA-2CWR-GCF9-PVXR

Affected Products

Magento-Lts
Openmage Magento Lts