# CVE-2026-42155: Magento LTS: Weak API Session ID — Predictable MD5 of Time-Derived Inputs

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T19:35:56.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-2cwr-gcf9-pvxr
- Weaknesses: CWE-330, CWE-331, CWE-338
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- OpenMage magento-lts: < 20.18.0
- openmage/magento-lts (Packagist): before 20.18.0

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42155> (advisory)
- <https://github.com/OpenMage/magento-lts> (package)

## Sources

- CVE List: [CVE-2026-42155](https://www.cve.org/CVERecord?id=CVE-2026-42155), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-2cwr-gcf9-pvxr](https://github.com/advisories/GHSA-2cwr-gcf9-pvxr), CC-BY-4.0, modified 2026-05-16
- NVD: [CVE-2026-42155](https://nvd.nist.gov/vuln/detail/CVE-2026-42155), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42155 · Whole record: https://cve.day/CVE-2026-42155.json · Rebuilt by cve.day 2026-11-25T22:59:21.820Z
