# CVE-2021-40865: Unsafe Pre-Authentication Deserialization In Workers

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 64.2%, higher than 99% of CVEs (2026-12-01)
- Published: 2021-10-25T12:22:37.000Z
- Modified: 2026-06-17T04:07:33.820Z
- Also known as: GHSA-w729-7633-2fw5
- Weaknesses: CWE-502
- Assigned by: apache

## Description

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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Storm: from v1.0.0 before Apache Storm *; from Apache Storm before v1.2.4
- org.apache.storm:storm (Maven): from 2.2.0 before 2.2.1; from 1.0.0 before 1.2.4; from 2.1.0 before 2.1.1
- apache storm: from 1.0.0 before 1.2.4; from 2.1.0 before 2.1.1; from 2.2.0 before 2.2.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://lists.apache.org/thread.html/r8d45e74299897b6734dd0f788c46a631009ce2eeb731523386f7a253%40%3Cuser.storm.apache.org%3E> (mailing-list, vendor-advisory, web)
- <https://seclists.org/oss-sec/2021/q4/45> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40865> (advisory)

## Sources

- CVE List: [CVE-2021-40865](https://www.cve.org/CVERecord?id=CVE-2021-40865), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-w729-7633-2fw5](https://github.com/advisories/GHSA-w729-7633-2fw5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-40865](https://nvd.nist.gov/vuln/detail/CVE-2021-40865), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40865 · Whole record: https://cve.day/CVE-2021-40865.json · Rebuilt by cve.day 2026-11-25T22:58:04.742Z
