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-40974

CVE-2026-40974: Spring Boot SSL Hostname Vulnerability

CVE-2026-40974 is an information disclosure vulnerability in Spring Boot's Cassandra auto-configuration that fails to verify SSL hostnames. This exposes connections to man-in-the-middle attacks. Learn about affected versions and fixes.

Published: April 30, 2026

CVE-2026-40974 Overview

CVE-2026-40974 is a certificate validation bypass vulnerability in Spring Boot's Cassandra auto-configuration. When establishing SSL connections to Cassandra databases, the affected versions fail to perform hostname verification, potentially allowing man-in-the-middle attacks against applications that rely on SSL/TLS for secure database connections.

This vulnerability affects the SSL auto-configuration component used when connecting Spring Boot applications to Apache Cassandra instances. Without proper hostname verification, an attacker positioned on an adjacent network could intercept and potentially modify traffic between the application and the database server, even when SSL is enabled.

Critical Impact

Applications using Spring Boot's Cassandra auto-configuration with SSL may be vulnerable to man-in-the-middle attacks, potentially exposing sensitive data transmitted to and from the database.

Affected Products

  • Spring Boot 4.0.0 – 4.0.5 (fix in 4.0.6)
  • Spring Boot 3.5.0 – 3.5.13 (fix in 3.5.14)
  • Spring Boot 3.4.0 – 3.4.15 (fix in 3.4.16)
  • Spring Boot 3.3.0 – 3.3.18 (fix in 3.3.19)
  • Spring Boot 2.7.0 – 2.7.32 (fix in 2.7.33)

Discovery Timeline

  • April 28, 2026 - CVE-2026-40974 published to NVD
  • April 28, 2026 - Last updated in NVD database

Technical Details for CVE-2026-40974

Vulnerability Analysis

This vulnerability is classified as CWE-295 (Improper Certificate Validation). The core issue lies in Spring Boot's Cassandra auto-configuration module, which establishes SSL/TLS connections without verifying that the hostname in the server's certificate matches the hostname being connected to.

SSL/TLS certificate validation consists of two critical checks: verifying the certificate chain against trusted certificate authorities, and verifying that the certificate's Common Name (CN) or Subject Alternative Name (SAN) matches the intended server hostname. When hostname verification is skipped, an attacker with a valid certificate from any trusted CA—or who has compromised any certificate in the trust chain—can impersonate the legitimate Cassandra server.

The vulnerability requires an adjacent network position (such as the same local network segment, VLAN, or cloud VPC) to exploit, which somewhat limits the attack surface compared to remotely exploitable vulnerabilities.

Root Cause

The root cause is the missing hostname verification step in Spring Boot's SSL socket factory configuration for Cassandra connections. When auto-configuring SSL connections to Cassandra, the framework properly initiates SSL/TLS handshakes but does not enforce that the server certificate's hostname fields match the target server's hostname. This allows any valid certificate to be accepted, regardless of which host it was issued for.

Attack Vector

Exploitation requires the attacker to be positioned on an adjacent network where they can intercept traffic between the Spring Boot application and the Cassandra database. The attacker would need to:

  1. Position themselves on the network path between the application and database (via ARP spoofing, DNS hijacking, or similar techniques on the local network)
  2. Present a valid SSL certificate from a trusted Certificate Authority
  3. Intercept and proxy (or modify) the traffic between the application and the legitimate Cassandra server

Since hostname verification is not performed, the application accepts the attacker's certificate as valid, establishing an encrypted connection with the attacker rather than the intended database server. The attacker can then decrypt, inspect, and potentially modify all database queries and responses.

The attack complexity is considered high because it requires network-level access and the ability to perform traffic interception on the same network segment, which is not trivial in properly segmented enterprise environments.

Detection Methods for CVE-2026-40974

Indicators of Compromise

  • Unexpected certificate warnings or errors in application logs when connecting to Cassandra
  • Network traffic anomalies showing connections to Cassandra endpoints being routed through unexpected intermediate hosts
  • ARP spoofing or DNS poisoning attempts detected on the network segment hosting the application
  • Unusual latency patterns in Cassandra connections that may indicate traffic interception and proxying

Detection Strategies

  • Audit Spring Boot application dependencies to identify vulnerable versions (2.7.0-2.7.32, 3.3.0-3.3.18, 3.4.0-3.4.15, 3.5.0-3.5.13, 4.0.0-4.0.5)
  • Review application configurations for Cassandra SSL settings and verify hostname verification is explicitly enabled
  • Monitor for abnormal network patterns such as ARP table changes or DNS response modifications on application server segments
  • Implement network intrusion detection to identify potential man-in-the-middle positioning attempts

Monitoring Recommendations

  • Enable verbose SSL/TLS logging in Spring Boot applications to capture certificate details during Cassandra connection establishment
  • Deploy network monitoring to detect ARP spoofing, DNS hijacking, or other traffic redirection attempts
  • Monitor application logs for certificate validation errors or connection anomalies to Cassandra endpoints
  • Implement certificate pinning monitoring where feasible to detect unauthorized certificate usage

How to Mitigate CVE-2026-40974

Immediate Actions Required

  • Upgrade Spring Boot to a patched version: 4.0.6, 3.5.14, 3.4.16, 3.3.19, or 2.7.33
  • Review all applications using Spring Boot's Cassandra auto-configuration with SSL enabled
  • Ensure network segmentation is in place to limit adjacent network attack vectors
  • Consider implementing additional network-level protections such as IPsec or mutual TLS for database connections

Patch Information

VMware/Broadcom has released patched versions across all affected Spring Boot release branches. Organizations should upgrade to one of the following fixed versions based on their current branch:

Current VersionUpgrade To
4.0.0 – 4.0.54.0.6
3.5.0 – 3.5.133.5.14
3.4.0 – 3.4.153.4.16
3.3.0 – 3.3.183.3.19
2.7.0 – 2.7.322.7.33

For detailed patch information, refer to the Spring Security Advisory for CVE-2026-40974.

Workarounds

  • Implement network segmentation to ensure Cassandra connections traverse only trusted network paths
  • Use VPNs, IPsec tunnels, or other network-layer encryption for the connection path between applications and Cassandra
  • Consider implementing certificate pinning at the application level to explicitly trust only the expected Cassandra server certificate
  • Manually configure the Cassandra driver SSL context with explicit hostname verification enabled, bypassing the auto-configuration
bash
# Example: Update Spring Boot dependency in Maven pom.xml
# Locate and update the spring-boot-starter-parent or spring-boot-dependencies version

# For Maven projects, update pom.xml:
# <parent>
#     <groupId>org.springframework.boot</groupId>
#     <artifactId>spring-boot-starter-parent</artifactId>
#     <version>3.3.19</version>  <!-- Updated from vulnerable version -->
# </parent>

# For Gradle projects, update build.gradle:
# plugins {
#     id 'org.springframework.boot' version '3.3.19'  // Updated from vulnerable version
# }

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSpring Boot

  • SeverityMEDIUM

  • CVSS Score5.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-295
  • Technical References
  • Spring Security Advisory CVE-2026-40974
  • Related CVEs
  • CVE-2026-40971: Spring Boot Information Disclosure Flaw

  • CVE-2026-40970: Spring Boot SSL Hostname Vulnerability

  • CVE-2024-38807: Spring Boot Loader Auth Bypass Vulnerability

  • CVE-2023-34055: VMware Spring Boot DoS 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