{"schemaVersion":3,"id":"CVE-2026-42155","aliases":[],"status":"published","duplicateOf":null,"title":"Magento LTS: Weak API Session ID — Predictable MD5 of Time-Derived Inputs","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.","dates":{"published":"2026-05-15T17:05:02.436Z","modified":"2026-05-15T17:36:27.793Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"critical","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.3,"severity":"critical","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00486,"percentile":0.40908,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.18299999999999997,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00303},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00486,"percentile":0.40908}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00303,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00486,"percentile":0.40908}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-330","name":"Use of Insufficiently Random Values","description":"The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/330.html"},{"id":"CWE-331","name":"Insufficient Entropy","description":"The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/331.html"},{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","description":"The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/338.html"}],"affected":[{"vendor":"openmage","product":"magento-lts","name":"magento-lts","label":"magento-lts","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 20.18.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20.18.0","eol":null,"hubHref":"/vendor/openmage/magento-lts"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr","label":"github.com/OpenMage/magento-lts/security/advisories/GHSA-2cwr-gcf9-pvxr","hostname":"github.com","tags":["X Refsource CONFIRM"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-05-15T17:05:02.436Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-15T17:36:27.793Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:28:54.163Z","stale":false,"partial":false}}