Home / Adobe / Magento.com / CVE-2021-21031
CVE-2021-21031: is it exploited, and which versions of Adobe Magento.com are affected and fixed?
CVE-2021-21031 is a session does not expire vulnerability in Adobe Magento.com. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: magento/community-edition from 2.4.0 before 2.4.1-p1, magento/community-edition before 2.3.6 and magento/project-community-edition through 2.0.2 (GitHub advisory GHSA-4h3p-63x6-vwg2). Fixed in 2.4.1-p1 and 2.3.6 (GitHub advisory GHSA-4h3p-63x6-vwg2). Severity: Medium (5.6, CVSS 3.0, from adobe).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 28, 2026, 20:20 UTC and NVD November 19, 2026, 08:03 UTC.
What is CVE-2021-21031?
Magento Commerce Failure To Invalidate User Session Could Lead To Unauthorized Access
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.
From the CVE record by adobe, last updated September 16, 2024, 20:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Adobe | Magento.com | through 2.4.1 through 2.4.0-p1 through 2.3.6 through None |
As the CVE record by adobe states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | magento/community-edition | >= 2.4.0, < 2.4.1-p1 | 2.4.1-p1 | GHSA-4h3p-63x6-vwg2 |
| Packagist | magento/community-edition | < 2.3.6 | 2.3.6 | GHSA-4h3p-63x6-vwg2 |
| Packagist | magento/project-community-edition | <= 2.0.2 | none listed | GHSA-4h3p-63x6-vwg2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 10, 2025. Summary: Magento Insufficient Session Expiration.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| magento | magento | before 2.3.6 | application |
| magento | magento | 2.3.6 | application |
| magento | magento | 2.4.0 | application |
| magento | magento | 2.4.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:34 UTC.
How severe is CVE-2021-21031?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.6 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | adobe |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-21031 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.60% probability of exploitation activity in the next 30 days, percentile 76.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-613 session does not expire
Where are the vendor advisories and references?
- https://helpx.adobe.com/security/products/magento/apsb21-08.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 18, 2020
- Published
- February 11, 2021, 19:28 UTC
- CVE record updated
- September 16, 2024, 20:11 UTC by adobe
- NVD
- Modified, last modified June 17, 2026, 03:34 UTC
- Last checked
- CVE list November 28, 2026, 20:20 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2021-21031
Is CVE-2021-21031 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 1.60% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Adobe Magento.com are affected by CVE-2021-21031?
magento/community-edition from 2.4.0 before 2.4.1-p1, magento/community-edition before 2.3.6 and magento/project-community-edition through 2.0.2, per the GitHub advisory GHSA-4h3p-63x6-vwg2. The tables above give every range the sources list.
Which version fixes CVE-2021-21031?
2.4.1-p1 and 2.3.6, per the GitHub advisory GHSA-4h3p-63x6-vwg2. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-21031?
Medium (5.6, CVSS 3.0, from adobe). The severity table above shows each score with its source.
Where is the official record of CVE-2021-21031?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.