Medium, CVSS 4.8MavenPublished
Apache Storm Prometheus Reporter vulnerable to Improper Certificate Validation via Global SSL Context Downgrade
CVE-2026-40557 · GHSA-82fm-wpc2-5pmp
- Affected
- Maven org.apache.storm:storm-metrics-prometheus >= 2.6.3, < 2.8.7
- Fixed in
- 2.8.7· Vendor fix available
- Issue
- Improper Certificate Validation via Global SSL Context Downgrade in Apache Storm Prometheus Reporter Versions Affected: from 2.6.3 to 2.8.6 Description: In production deployments where an administrator enables storm.daemon.metrics.reporter.plugin.prometheus.skiptlsvalidation (by default it is disabled) intending to affect only the Prometheus reporter, the undocumented global side effect creates an attack surface across every TLS-protected communication channel in the Storm daemon. The PrometheusPreparableReporter class implements an INSECURETRUSTMANAGER that accepts all SSL certificates without validation, with empty checkClientTrusted and checkServerTrusted methods. Most critically, when the storm.daemon.metrics.reporter.plugin.prometheus.skiptlsvalidation configuration option is enabled (default = disabled) for HTTPS Prometheus PushGateway connections, the INSECURECONNECTIONFACTORY calls SSLContext.setDefault(sslContext), which globally replaces the JVM's default SSL context rather…
Recommended action: Upgrade to 2.8.7 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.