CVE-2026-42155
published critical CVSS 4.0 · 9.3Magento LTS: Weak API Session ID — Predictable MD5 of Time-Derived Inputs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenMage | — | magento-lts< 20.18.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenMage | magento-lts | < 20.18.0 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-330 CWE-330: Use of Insufficiently Random Values
- CWE-331 CWE-331: Insufficient Entropy
- CWE-338 CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
1Provider assertions
2GitHub_M · cna
Magento LTS: Weak API Session ID — Predictable MD5 of Time-Derived Inputs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1c95cb073e946d6e4f09f012a4f5462176009ed2c6b95747b24eb9a0b2ac8997
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record