A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40557

CVE-2026-40557: Apache Storm Info Disclosure Vulnerability

CVE-2026-40557 is an information disclosure vulnerability in Apache Storm Prometheus Reporter caused by improper certificate validation. This global SSL context downgrade affects versions 2.6.3 to 2.8.6 and exposes sensitive data. This article covers technical details, affected versions, impact, and mitigation steps.

Updated: May 14, 2026

CVE-2026-40557 Overview

CVE-2026-40557 is an Improper Certificate Validation vulnerability [CWE-295] in the Apache Storm Prometheus Reporter affecting versions 2.6.3 through 2.8.6. The flaw resides in the PrometheusPreparableReporter class, which uses an INSECURE_CONNECTION_FACTORY that calls SSLContext.setDefault(sslContext). Enabling the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation option replaces the JVM's default SSL context globally instead of scoping it to the Prometheus PushGateway connection. The undocumented side effect downgrades TLS validation across every HTTPS channel in the Storm daemon process.

Critical Impact

A single misconfigured Prometheus metrics flag silently disables certificate validation for ZooKeeper, Thrift, Netty, and UI connections, exposing cluster traffic to man-in-the-middle interception.

Affected Products

  • Apache Storm Prometheus Reporter 2.6.3
  • Apache Storm Prometheus Reporter versions 2.6.4 through 2.8.5
  • Apache Storm Prometheus Reporter 2.8.6

Discovery Timeline

  • 2026-04-27 - CVE-2026-40557 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-40557

Vulnerability Analysis

The PrometheusPreparableReporter class implements an INSECURE_TRUST_MANAGER whose checkClientTrusted and checkServerTrusted methods are empty. When an administrator sets storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true in storm.yaml, the reporter's prepare() method invokes INSECURE_CONNECTION_FACTORY, which calls SSLContext.setDefault(sslContext). This replaces the process-wide default SSL context rather than applying the insecure context only to the Prometheus PushGateway client. Every subsequent HTTPS connection initiated by the JVM inherits the unsafe trust manager. The Storm daemon then trusts self-signed, expired, and attacker-generated certificates on connections to ZooKeeper, the Thrift API, Netty workers, and the UI service.

Root Cause

The defect is a scoping error in TLS configuration. The Prometheus reporter applies its custom SSLContext using the global SSLContext.setDefault() API instead of constructing an isolated HttpClient or URLConnection with a per-request SSLSocketFactory. The administrator-facing configuration name implies local scope, but the implementation imposes JVM-wide effect.

Attack Vector

An attacker positioned on the network path between Storm daemons and supporting services can present any certificate during the TLS handshake. The Storm process accepts the certificate without warning. The adversary can then intercept or modify cluster state updates, topology submissions, tuple data, and administrative credentials. Exploitation requires the operator to have enabled the skip_tls_validation flag and the attacker to achieve a network-adjacent position, which raises attack complexity.

No public proof-of-concept code is available. See the Apache Mailing List Discussion and the OpenWall OSS-Security Post for vendor-supplied technical detail.

Detection Methods for CVE-2026-40557

Indicators of Compromise

  • Presence of storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true in any storm.yaml file across cluster nodes.
  • Successful TLS handshakes from Storm daemons to ZooKeeper, Thrift, Netty, or UI endpoints using certificates that do not chain to the cluster's configured truststore.
  • Unexpected TLS certificate fingerprints observed in network captures between Storm components.

Detection Strategies

  • Audit configuration management repositories and deployed storm.yaml files for the skip_tls_validation flag set to true.
  • Inspect Storm daemon JVM startup output and metrics reporter initialization logs for references to PrometheusPreparableReporter and INSECURE_CONNECTION_FACTORY.
  • Compare the certificate chains presented to Storm daemons against the expected internal certificate authority to identify rogue or self-signed certificates.

Monitoring Recommendations

  • Enable certificate pinning or out-of-band certificate transparency monitoring on ZooKeeper, Thrift, and UI listeners used by Storm.
  • Forward Storm daemon logs and configuration change events to a centralized log platform and alert on modifications to metrics reporter settings.
  • Monitor for new or unexpected outbound connections from Storm hosts that could indicate an interception position.

How to Mitigate CVE-2026-40557

Immediate Actions Required

  • Identify every Storm deployment running versions 2.6.3 through 2.8.6 that loads the Prometheus Metrics Reporter.
  • Remove storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true from storm.yaml on all affected nodes and restart the daemons.
  • Configure a truststore that contains the Prometheus PushGateway certificate and reference it from the Storm JVM options.
  • Rotate any credentials, tokens, or topology secrets that may have traversed a downgraded TLS channel.

Patch Information

Apache has released Apache Storm 2.8.7, which corrects the SSL context scoping in PrometheusPreparableReporter. Users of the Prometheus Metrics Reporter on the 2.x branch should upgrade to 2.8.7. The fix is described in the Apache Mailing List Discussion.

Workarounds

  • Disable the Prometheus Metrics Reporter entirely until upgrading to 2.8.7.
  • Replace the skip_tls_validation flag with a properly configured truststore containing the PushGateway certificate.
  • Issue a valid certificate to the Prometheus PushGateway from the same certificate authority that signs other internal services, eliminating any operational reason to bypass validation.
bash
# Configuration example: remove the unsafe flag and supply a truststore
# In storm.yaml, ensure the following line is NOT present:
#   storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true

# Configure the JVM truststore for Storm daemons instead:
export STORM_JAR_JVM_OPTS="\
  -Djavax.net.ssl.trustStore=/etc/storm/truststore.jks \
  -Djavax.net.ssl.trustStorePassword=changeit \
  -Djavax.net.ssl.trustStoreType=JKS"

# Import the PushGateway certificate into the truststore:
keytool -importcert \
  -alias prometheus-pushgateway \
  -file pushgateway.crt \
  -keystore /etc/storm/truststore.jks \
  -storepass changeit

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechApache Storm

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-295
  • Technical References
  • OpenWall OSS-Security Post
  • Vendor Resources
  • Apache Mailing List Discussion
  • Related CVEs
  • CVE-2026-41081: Apache Storm Auth Bypass Vulnerability

  • CVE-2026-35337: Apache Storm RCE Vulnerability

  • CVE-2026-35565: Apache Storm XSS Vulnerability

  • CVE-2021-38294: Apache Storm RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English