MODERATE 6.5

CVE-2026-41081

Apache Storm's Improper Handling of TLS Client Authentication Failure Leads to Anonymous Principal Assignment

Description

Improper Handling of TLS Client Authentication Failure Leading to Anonymous Principal Assignment in Apache Storm

Versions Affected: up to 2.8.7

Description: When TLS transport is enabled in Apache Storm without requiring client certificate authentication (the default configuration), the TlsTransportPlugin assigns a fallback principal (CN=ANONYMOUS) if no client certificate is presented or if certificate verification fails. The underlying SSLPeerUnverifiedException is caught and suppressed rather than rejecting the connection.

This fail-open behavior means an unauthenticated client can establish a TLS connection and receive a valid principal identity. If the configured authorizer (e.g., SimpleACLAuthorizer) does not explicitly deny access to CN=ANONYMOUS, this may result in unauthorized access to Storm services. The condition is logged at debug level only, reducing visibility in production.

Impact: Unauthenticated clients may be assigned a principal identity, potentially bypassing authorization in permissive or misconfigured environments.

Mitigation: Users should upgrade to 2.8.7 in which TLS authentication failures are handled in a fail-closed manner.

Users who cannot upgrade immediately should:

  • Enable mandatory client certificate authentication (nimbus.thrift.tls.client.auth.required: true)
  • Ensure authorization rules explicitly deny access to CN=ANONYMOUS
  • Review all ACL configurations for implicit default-allow behavior

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.storm » storm-client
< 2.8.7
2.8.7

Blast radius

1affected artifacts
22affected versions
15dependent artifacts (est.)
203dependent versions

40% of the dependent artifacts (6) still pull an affected version in their latest release.

DepthDependent versions
Direct
82
2 hops
41
3 hops
80

Most used dependents

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.