Home / Apache Software Foundation / Apache Storm / CVE-2021-40865
CVE-2021-40865: is it exploited, and which versions of Apache Software Foundation Apache Storm are affected and fixed?
CVE-2021-40865 is a deserialization of untrusted data vulnerability in Apache Software Foundation Apache Storm. 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, 17:39 UTC). Affected: org.apache.storm:storm from 2.2.0 before 2.2.1, org.apache.storm:storm from 1.0.0 before 1.2.4 and org.apache.storm:storm from 2.1.0 before 2.1.1 (GitHub advisory GHSA-w729-7633-2fw5). Fixed in 2.2.1, 1.2.4 and 2.1.1 (GitHub advisory GHSA-w729-7633-2fw5). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 28, 2026, 20:06 UTC and NVD November 19, 2026, 07:54 UTC.
What is CVE-2021-40865?
Unsafe Pre-Authentication Deserialization In Workers
An Unsafe Deserialization vulnerability exists in the worker services of the Apache Storm supervisor server allowing pre-auth Remote Code Execution (RCE). Apache Storm 2.2.x users should upgrade to version 2.2.1 or 2.3.0. Apache Storm 2.1.x users should upgrade to version 2.1.1. Apache Storm 1.x users should upgrade to version 1.2.4
From the CVE record by apache, last updated August 4, 2024, 02:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Storm | from v1.0.0 through every Apache Storm version from Apache Storm before v1.2.4 | v1.2.4, v2.1.1, v2.2.1, v2.3.0 |
As the CVE record by apache states it, last updated August 4, 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 |
|---|---|---|---|---|
| Maven | org.apache.storm:storm | >= 2.2.0, < 2.2.1 | 2.2.1 | GHSA-w729-7633-2fw5 |
| Maven | org.apache.storm:storm | >= 1.0.0, < 1.2.4 | 1.2.4 | GHSA-w729-7633-2fw5 |
| Maven | org.apache.storm:storm | >= 2.1.0, < 2.1.1 | 2.1.1 | GHSA-w729-7633-2fw5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 29, 2021. Summary: Deserialization of Untrusted Data leading to Remote Code Execution in Apache Storm.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | storm | from 1.0.0 before 1.2.4 | application |
| apache | storm | from 2.1.0 before 2.1.1 | application |
| apache | storm | from 2.2.0 before 2.2.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:07 UTC.
How severe is CVE-2021-40865?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| 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-40865 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 64.2% probability of exploitation activity in the next 30 days, percentile 99.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Is there a workaround? (from the CVE record)
Apache Storm 2.2.x users should upgrade to version 2.2.1 or 2.3.0 Apache Storm 2.1.x users should upgrade to version 2.1.1 Apache Storm 1.x users should upgrade to version 1.2.4
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/r8d45e74299897b6734dd0f788c46a631009ce2eeb731523386f7a253%40%3Cuser.storm.apache.org%3E x_refsource_MISC
- https://seclists.org/oss-sec/2021/q4/45 x_refsource_MISC
Who found and reported it?
- Apache Storm would like to thank @pwntester Alvaro Muñoz of the GitHub Security Lab team for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 12, 2021
- Published
- October 25, 2021, 12:22 UTC
- CVE record updated
- August 4, 2024, 02:51 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:07 UTC
- Last checked
- CVE list November 28, 2026, 20:06 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Storm?
- Nov 11, 2026CVE-2026-124496 Apache Software Foundation Apache Storm: incorrect authorization
- Nov 11, 2026CVE-2026-124495 Apache Software Foundation Apache Storm: link following (a symlink lets an attacker reach other files)
- Nov 11, 2026CVE-2026-94125 Apache Software Foundation Apache Storm: missing authorization
- Nov 23, 2023CVE-2023-43123 Apache Software Foundation Apache Storm: information disclosure
- Oct 25, 2021CVE-2021-38294 Apache Software Foundation Apache Storm: injection
- Jul 10, 2018CVE-2018-1331 Apache Software Foundation Apache Storm: Remote Code Execution
- Jun 5, 2018CVE-2018-8008 Apache Software Foundation Apache Storm: path traversal (reading or writing files outside the intended folder)
- Jun 5, 2018CVE-2018-1332 Apache Software Foundation Apache Storm: information disclosure
Questions about CVE-2021-40865
Is CVE-2021-40865 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 64.2% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Storm are affected by CVE-2021-40865?
org.apache.storm:storm from 2.2.0 before 2.2.1, org.apache.storm:storm from 1.0.0 before 1.2.4 and org.apache.storm:storm from 2.1.0 before 2.1.1, per the GitHub advisory GHSA-w729-7633-2fw5. The tables above give every range the sources list.
Which version fixes CVE-2021-40865?
2.2.1, 1.2.4 and 2.1.1, per the GitHub advisory GHSA-w729-7633-2fw5. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-40865?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-40865?
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.