CVE-2026-82440
Apache Storm Nimbus: Submitter-Controlled Class Instantiation in Nimbus via a Fail-Open Scheduler Strategy Allowlist
Description
Description
Nimbus instantiates the class named by a topology's topology.scheduler.strategy when scheduling it. The
allowlist intended to constrain that choice, nimbus.scheduler.strategy.class.whitelist, was treated as
"allow any class" when unset, and it had no entry in the shipped defaults.yaml, so unset was the shipped
state. An authenticated submitter could therefore cause Nimbus to instantiate any class on the Nimbus
classpath that has a no-argument constructor.
Storm's own production artifacts contain classes with side effects suitable for this: instantiating
org.apache.storm.testing.InProcessZookeeper starts a ZooKeeper server with its own threads and sockets
and nothing closes it, and org.apache.storm.LocalCluster behaves similarly. Repeated submissions
therefore consume threads, sockets and memory in the most privileged daemon in the cluster.
Mitigation
Upgrade to 3.1.0, where an unset allowlist means the strategies shipped with Storm rather than any class.
Note that this is a behaviour change: a cluster running an out-of-tree scheduler strategy without an
explicit allowlist will have those topologies refused until the class is added to
nimbus.scheduler.strategy.class.whitelist. The rejection message names the refused class and the
configuration key.
Users who cannot upgrade immediately should set nimbus.scheduler.strategy.class.whitelist explicitly to
the strategies they intend to permit.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.storm » storm-clientpreliminary | >= 3.0.0, < 3.1.0 | 3.1.0 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2 |
| 2 hops | 1 |
| 3 hops | 2 |
Most used dependents
- org.apache.storm » storm-core263 usages
- org.apache.storm » storm-server12 usages
- org.apache.storm » apache-storm-source1 usages
- org.apache.storm » final-package0 usages
- org.apache.storm » storm-client-bin0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
