CVE-2021-40865: An Unsafe Deserialization vulnerability exists in the worker services of the Apache Storm supervisor server al
CVE-2021-40865 is a critical-severity flaw (CVSS 9.8) affecting storm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 64.2% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2021-10-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: hktalent/CVE-2021-40865 (14 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-40865?
storm: upgrade to 1.2.4, 2.1.1, 2.2.1. Exact commands for each OS are on this page.
Is CVE-2021-40865 being exploited?
CVE-2021-40865 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-40865 affect?
CVE-2021-40865 affects storm. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2021-40865?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2026-35337 HIGH 8.8 UPGRADE Deserialization of Untrusted Data vulnerability in Apache Storm. Versions Affected: before 2.8.6. Descripti
- CVE-2026-41081 MEDIUM 6.5 UPGRADE Improper Handling of TLS Client Authentication Failure Leading to Anonymous Principal Assignment in Apache Sto
- CVE-2026-35565 MEDIUM 5.4 UPGRADE Stored Cross-Site Scripting (XSS) via Unsanitized Topology Metadata in Apache Storm UI Versions Affected: be
- CVE-2023-43123 MEDIUM 5.5 UPGRADE On unix-like systems, the temporary directory is shared between all user
- CVE-2021-38294 CRITICAL 9.8 UPGRADE A Command Injection vulnerability exists in the getTopologyHistory service of the Apache Storm 2.x prior to 2.