Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 82%

CVE-2026-42155: CWE-330: Use of Insufficiently Random Values in OpenMage magento-lts

0
Critical
VulnerabilityCVE-2026-42155cvecve-2026-42155cwe-330cwe-331cwe-338
Published: 05/15/2026 (05/15/2026, 17:05:02 UTC)
Source: CVE Database V5
Vendor/Project: OpenMage
Product: 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.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
openmage/magento-lts
pkg:github/openmage/magento-lts
Affected versions
<20.18.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/15/2026, 17:37:20 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 05/15/2026, 17:22:45 UTC

Last enriched: 05/15/2026, 17:37:20 UTC

Last updated: 06/30/2026, 08:51:20 UTC

Views: 114

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses