Skip to content
Fencer Vulns
medium 5.6

CVE-2021-21031 json

Magento Commerce Failure To Invalidate User Session Could Lead To Unauthorized Access

published 2021-02-11 5 y ago modified 2026-09-08 2 mo ago also BIT-magento-2021-21031 , EUVD-2022-2381 , GHSA-4h3p-63x6-vwg2

cvss
5.6
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) do not adequately invalidate user sessions. Successful exploitation could lead to unauthorized access to restricted resources. Access to the admin console is not required for successful exploitation.

Patch / fix

  • packagist magento/community-edition 2.3.6, 2.4.1-p1
  • bitnami magento 2.3.6, 2.4.1
  • magento magento 2.3.6

Exploit prediction

1.69% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 5.6 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHub 3.1 5.6 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
OSV 3.0 5.6 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
packagist magento/community-edition
>=2.4.0, <2.4.1-p1
<2.3.6
2.4.1-p1
2.3.6
packagist magento/project-community-edition
<=2.0.2
no fix listed
bitnami magento
<2.3.6
>=2.4.0, <2.4.1
2.3.6
2.4.1

Affected products

  • Adobe Magento.com

Classification

Weakness
  • CWE-613 DEPRECATED: Insufficient Session Expiration

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.