Skip to main content

Apache Storm Prometheus Reporter CVE-2026-40557

| EUVDEUVD-2026-25846 MEDIUM
Improper Certificate Validation (CWE-295)
2026-04-27 apache
4.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Administrator enables skip_tls_validation in configuration
  2. Delivery
    Storm daemon loads PrometheusPreparableReporter at startup
  3. Exploit
    SSLContext.setDefault() called with insecure context
  4. Install
    JVM-wide SSL validation disabled
  5. C2
    Attacker performs MITM on HTTPS channel
  6. Execute
    Arbitrary certificate accepted without validation
  7. Impact
    Attacker intercepts cluster state and credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

The vulnerability is triggered only when the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation configuration parameter is explicitly set to true in the Storm daemon's storm.yaml configuration file. By default, this parameter is false (disabled), meaning the vast majority of Storm deployments are not affected. Additionally, the Prometheus Metrics Reporter plugin must be enabled and loaded in the Storm daemon. An administrator must have intentionally configured this setting, typically to work around TLS certificate validation errors with the Prometheus PushGateway. The attacker must be capable of intercepting or spoofing TLS connections (MITM attacker on the network), which requires network-layer access to paths between the Storm daemon and services it communicates with via HTTPS (ZooKeeper, Thrift, Netty, UI). Default Storm configurations with skip_tls_validation=false are not vulnerable; the vulnerability requires explicit, non-default configuration.

Impact

The CVSS 4.8 score (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) reflects partial confidentiality and integrity impact with high attack complexity, yet this underestimates real-world severity because AC:H accounts for the required administrator misconfiguration. The EPSS percentile of 0.01% and SSVC decision (Exploitation: none, Automatable: no, Technical Impact: partial) correctly indicate low statistical exploitation likelihood, aligning with the fact that the vulnerability requires explicit, non-default configuration changes. However, the integrity impact is understated: once triggered, an unauthenticated network attacker can intercept plaintext credentials, cluster topology data, and topology submission payloads submitted via HTTPS, creating a high-impact post-compromise scenario for any Storm cluster where this setting has been enabled. The critical risk differential is attack complexity-organizations that have explicitly set skip_tls_validation=true face substantially higher risk than the CVSS score suggests, whereas those using default configurations (skip_tls_validation=false) are unaffected. The lack of automatable exploitation (manual configuration required) and absence of active exploitation evidence support prioritization as medium rather than critical, but remediation should be expedited in environments where the insecure setting has been deployed.

Exploit ScenarioDerived

An attacker positioned on the network between a Storm cluster and the Prometheus PushGateway (or any other internal service) performs passive SSL/TLS interception. Once a Storm administrator has enabled skip_tls_validation=true and restarted the daemon, the attacker exploits the JVM-wide SSL context downgrade by presenting their own certificate for any HTTPS endpoint the daemon contacts. The daemon accepts the certificate without validation, allowing the attacker to transparently inspect and modify cluster topology submissions, credentials exchanged with ZooKeeper, and metrics data, effectively gaining control over cluster behavior.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 30, 2026

Improper certificate validation in Apache Storm Prometheus Reporter versions 2.6.3 to 2.8.6 allows man-in-the-middle attacks across all TLS connections in the Storm daemon when the skip_tls_validation configuration option is enabled. Enabling this setting for Prometheus PushGateway connections inadvertently downgrades the JVM-wide SSL context, causing all subsequent HTTPS communications (ZooKeeper, Thrift, Netty, UI) to trust arbitrary certificates without validation, enabling interception of cluster state, topology submissions, and administrative credentials. No public exploit code identified at time of analysis, and EPSS scoring of 0.01% reflects the requirement for explicit administrator misconfiguration to trigger the vulnerability.

RemediationAI

Upgrade Apache Storm to version 2.8.7 or later immediately if the Prometheus Metrics Reporter is deployed. For organizations unable to upgrade immediately, remove the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true setting from storm.yaml configuration entirely. If TLS validation must be disabled for the Prometheus PushGateway due to certificate issues, configure a proper Java truststore containing the PushGateway's certificate chain and reference it via system properties (javax.net.ssl.trustStore, javax.net.ssl.trustStorePassword) rather than disabling validation globally. This approach isolates certificate handling to the Prometheus connection without affecting cluster-wide TLS validation. Verify all Storm processes have been restarted after configuration changes. The recommended path is upgrade to 2.8.7; workarounds are temporary and leave the daemon vulnerable to MITM attacks if the setting is re-enabled. References: https://lists.apache.org/thread/f5bv68z1y5xstz22psjk05p3wn86knjq

Affected VersionsENISA

Apache Storm Prometheus Reporter 2.6.3 <2.8.7

Affected Packages

maven org.apache.storm:storm-metrics-prometheus fix: 2.8.7
euvd apache_storm_prometheus_reporter fix: 2.8.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The PrometheusPreparableReporter class in Apache Storm implements an INSECURE_TRUST_MANAGER that bypasses standard X.509 certificate validation through empty implementations of checkClientTrusted and checkServerTrusted methods. The root cause stems from CWE-295 (Improper Certificate Validation): when storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation is set to true in storm.yaml, the configuration flows through PrometheusPreparableReporter.prepare() to INSECURE_CONNECTION_FACTORY, which calls SSLContext.setDefault(sslContext). This call replaces the JVM's default SSL context globally rather than restricting the insecure behavior to the Prometheus PushGateway connection alone. Subsequently, all HTTPS traffic in the same process-including ZooKeeper cluster communication, Thrift RPC, Netty network I/O, and Storm UI connections-inherits this disabled certificate validation, enabling acceptance of self-signed, expired, and attacker-generated certificates across the entire cluster topology.

Know when Apache Storm Prometheus Reporter gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Primary rating from Vendor (apache) · only source for this CVE.

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
CVSS changed
Apr 30, 2026 - 16:22 NVD
4.8 (None) 4.8 (MEDIUM)
Patch released
Apr 30, 2026 - 16:16 nvd
Patch available
Patch available
Apr 27, 2026 - 15:01 EUVD
CVE Published
Apr 27, 2026 - 13:12 nvd
MEDIUM 4.8

DescriptionCVE.org

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.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. All subsequent HTTPS connections in the process - including ZooKeeper, Thrift, Netty, and UI connections - silently trust all certificates, including self-signed, expired, and attacker-generated ones, enabling man-in-the-middle interception of cluster state, topology submissions, tuple data, and administrative credentials.

Mitigation: 2.x users should upgrade to 2.8.7 if the Prometheus Metrics Reporter is used. Prometheus Metrics Reporter Users who cannot upgrade immediately should remove the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true setting from their storm.yaml configuration and instead configure a proper truststore containing the PushGateway's certificate.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy