CVE-2026-42155: CWE-330: Use of Insufficiently Random Values in OpenMage magento-lts
Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to 20.18.0, the XML-RPC / SOAP API session ID is generated using an outdated, time-based construction rather than a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG). All inputs to the MD5 hash are time-derived and non-secure. Because the resulting digest relies entirely on the timestamp and the PHP internal LCG state, the effective entropy is severely constrained. This violates the OWASP ASVS v4 requirement of ≥ 64 bits of entropy (V3.2.2) and NIST SP 800-63B standards. By narrowing the LCG window (via server state leaks or general predictability) and leveraging the lack of API rate-limiting, an attacker can generate a localized pool of candidate MD5 hashes and execute a high-speed online brute-force attack to hijack active API sessions. This vulnerability is fixed in 20.18.0.
AI Analysis
Technical Summary
CVE-2026-42155 affects OpenMage magento-lts versions before 20.18.0. The vulnerability arises because the XML-RPC / SOAP API session ID generation uses an outdated, time-based construction instead of a cryptographically secure pseudo-random number generator (CSPRNG). Inputs to the MD5 hash function are derived solely from timestamps and the PHP internal linear congruential generator (LCG) state, severely limiting entropy and violating OWASP ASVS and NIST standards. This low entropy enables attackers to narrow the candidate session ID space and conduct high-speed brute-force attacks to hijack active API sessions. The issue is fixed in version 20.18.0.
Potential Impact
An attacker can exploit the insufficient randomness in session ID generation to hijack active API sessions by brute forcing session IDs. This compromises the confidentiality and integrity of API sessions, potentially allowing unauthorized access to the affected Magento LTS installations prior to version 20.18.0.
Mitigation Recommendations
Upgrade magento-lts to version 20.18.0 or later, where the session ID generation uses a cryptographically secure pseudo-random number generator, mitigating this vulnerability. Patch status is confirmed by the vendor's versioning information. No additional mitigation steps are indicated.
CVE-2026-42155: CWE-330: Use of Insufficiently Random Values in OpenMage magento-lts
Description
Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to 20.18.0, the XML-RPC / SOAP API session ID is generated using an outdated, time-based construction rather than a Cryptographically Secure Pseudo-Random Number Generator (CSPRNG). All inputs to the MD5 hash are time-derived and non-secure. Because the resulting digest relies entirely on the timestamp and the PHP internal LCG state, the effective entropy is severely constrained. This violates the OWASP ASVS v4 requirement of ≥ 64 bits of entropy (V3.2.2) and NIST SP 800-63B standards. By narrowing the LCG window (via server state leaks or general predictability) and leveraging the lack of API rate-limiting, an attacker can generate a localized pool of candidate MD5 hashes and execute a high-speed online brute-force attack to hijack active API sessions. This vulnerability is fixed in 20.18.0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42155 affects OpenMage magento-lts versions before 20.18.0. The vulnerability arises because the XML-RPC / SOAP API session ID generation uses an outdated, time-based construction instead of a cryptographically secure pseudo-random number generator (CSPRNG). Inputs to the MD5 hash function are derived solely from timestamps and the PHP internal linear congruential generator (LCG) state, severely limiting entropy and violating OWASP ASVS and NIST standards. This low entropy enables attackers to narrow the candidate session ID space and conduct high-speed brute-force attacks to hijack active API sessions. The issue is fixed in version 20.18.0.
Potential Impact
An attacker can exploit the insufficient randomness in session ID generation to hijack active API sessions by brute forcing session IDs. This compromises the confidentiality and integrity of API sessions, potentially allowing unauthorized access to the affected Magento LTS installations prior to version 20.18.0.
Mitigation Recommendations
Upgrade magento-lts to version 20.18.0 or later, where the session ID generation uses a cryptographically secure pseudo-random number generator, mitigating this vulnerability. Patch status is confirmed by the vendor's versioning information. No additional mitigation steps are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-24T17:15:21.835Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a075665ec166c07b0723469
Added to database: 5/15/2026, 5:22:45 PM
Last enriched: 5/15/2026, 5:37:20 PM
Last updated: 5/16/2026, 7:31:44 AM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.