Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. openmage/magento-lts
  4. ›
  5. CVE-2026-42155

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

May 5, 2026

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):

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:

References

  • github.com/OpenMage/magento-lts
  • github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr
  • github.com/advisories/GHSA-2cwr-gcf9-pvxr
  • nvd.nist.gov/vuln/detail/CVE-2026-42155

Code Behaviors & Features

Detect and mitigate CVE-2026-42155 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 20.18.0

Fixed versions

  • 20.18.0

Solution

Upgrade to version 20.18.0 or above.

Impact 9.4 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-330: Use of Insufficiently Random Values
  • CWE-331: Insufficient Entropy
  • CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Source file

packagist/openmage/magento-lts/CVE-2026-42155.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:18:37 +0000.