Home / Apache Software Foundation / Apache Storm Prometheus Reporter / CVE-2026-40557
CVE-2026-40557: is it exploited, and which versions of Apache Software Foundation Apache Storm Prometheus Reporter are affected and fixed?
CVE-2026-40557 is an improper certificate validation vulnerability in Apache Software Foundation Apache Storm Prometheus Reporter. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: org.apache.storm:storm-metrics-prometheus from 2.6.3 before 2.8.7 (GitHub advisory GHSA-82fm-wpc2-5pmp). Fixed in 2.8.7 (GitHub advisory GHSA-82fm-wpc2-5pmp). Severity: Medium (4.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-40557?
Apache Storm Prometheus Reporter: Disabling TLS verification for Prometheus Reporter also disables it for all other connections
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.
From the CVE record by apache, last updated April 30, 2026, 15:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Storm Prometheus Reporter org.apache.storm:storm-metrics-prometheus | from 2.6.3 before 2.8.7 | 2.8.7 |
As the CVE record by apache states it, last updated April 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.storm:storm-metrics-prometheus | >= 2.6.3, < 2.8.7 | 2.8.7 | GHSA-82fm-wpc2-5pmp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 5, 2026. Summary: Apache Storm Prometheus Reporter vulnerable to Improper Certificate Validation via Global SSL Context Downgrade.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | storm prometheus reporter | from 2.6.3 before 2.8.7 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 22:10 UTC.
How severe is CVE-2026-40557?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40557 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 27, 2026)
- EPSS
- 0.20% probability of exploitation activity in the next 30 days, percentile 9.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-295 Improper Certificate Validation
Where are the vendor advisories and references?
- https://lists.apache.org/thread/f5bv68z1y5xstz22psjk05p3wn86knjq vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/04/25/2
Who found and reported it?
- K (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 14, 2026
- Published
- April 27, 2026, 13:12 UTC
- CVE record updated
- April 30, 2026, 15:21 UTC by apache
- NVD
- Analyzed, last modified October 26, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-40557
Is CVE-2026-40557 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Storm Prometheus Reporter are affected by CVE-2026-40557?
org.apache.storm:storm-metrics-prometheus from 2.6.3 before 2.8.7, per the GitHub advisory GHSA-82fm-wpc2-5pmp. The tables above give every range the sources list.
Which version fixes CVE-2026-40557?
2.8.7, per the GitHub advisory GHSA-82fm-wpc2-5pmp. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40557?
Medium (4.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40557?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.