Skip to content
VulniPulse
Medium4.8Apache Software Foundation

CVE-2026-40557: Apache Storm Prometheus: Improper Certificate Validation

This Apache advisory covers CVE-2026-40557 in Apache Storm Prometheus and ZooKeeper.

Open the Apache advisory

Key facts

Vendor rating
Medium, CVSS 4.8
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N · base score 4.8, scored by CISA-ADPAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: low. Integrity impact: low. Availability impact: none.
Weakness
  • CWE-295 Improper Certificate Validation
EPSS
0.19% chance of exploitation in the next 30 days (9th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
CISA KEV
Not listed (catalogue checked )
Affected
2.6.3 through 2.8.6
Fixed in
2.8.7
Source published
Source revised
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationBig Data

Description

Improper Certificate Validation via Global SSL Context Downgrade in Apache Storm Prometheus Reporter

Versions Affected: from 2.6.3 to 2.8.6

In production deployments where an administrator enables storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation (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 INSECURE_TRUST_MANAGER that accepts all SSL certificates without validation, with empty checkClientTrusted and checkServerTrusted methods.

Most critically, when the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation configuration option is enabled (default = disabled) for HTTPS Prometheus PushGateway connections, the INSECURE_CONNECTION_FACTORY calls SSLContext.setDefault(sslContext), which globally replaces the JVM's default SSL context rather than applying the insecure context only to the Prometheus connection.

This payload flows through storm.yaml configuration → PrometheusPreparableReporter.prepare() → INSECURE_CONNECTION_FACTORY → SSLContext.setDefault(), resulting in a JVM-wide TLS security downgrade.

Text from the source record.

Affected versions
  • 2.6.3 through 2.8.6

Official advisory · high-confidence parse· fetched ·verify at source

How to fix CVE-2026-40557

Upgrade to a fixed release named by Apache:

  • 2.8.7

Apache Software Foundation advisories, April 2026All Apache Software Foundation advisories

Get an email when Apache Data & Analytics (Spark/Hadoop/Gravitino) publishes the next one.

See Apache Data & Analytics (Spark/Hadoop/Gravitino)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Apache Data & Analytics (Spark/Hadoop/Gravitino)