CVE-2026-40970 — When configured to use an SSL bundle, Spring Boot's
CVE-2026-40970 — When configured to use an SSL bundle, Spring Boot's Elasticsearch auto-configuration does not perform hostname verification when connecting to the Elasticsearch server. Affected: Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later per vendor advisory.
What This Means For You
- If your environment is affected by CWE-295, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-40970 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
2 rules · 6 SIEM formats2 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
Spring Boot Elasticsearch SSL Bundle Hostname Verification Bypass - CVE-2026-40970
Sigma YAML — free preview
title: Spring Boot Elasticsearch SSL Bundle Hostname Verification Bypass - CVE-2026-40970
id: scw-2026-04-27-ai-1
status: experimental
level: medium
description: |
This rule detects potential exploitation of CVE-2026-40970 by identifying web server requests to Elasticsearch on port 9200, specifically targeting the '_cluster/health' endpoint. This bypasses hostname verification when Spring Boot is configured with an SSL bundle, allowing an attacker to potentially interact with an Elasticsearch cluster without proper authentication or validation.
author: SCW Feed Engine (AI-generated)
date: 2026-04-27
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-40970/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/_cluster/health'
cs-method:
- 'GET'
sc-status:
- '200'
dst_domain:
- 'elasticsearch.local'
dst_port:
- '9200'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-40970 | vulnerability | CVE-2026-40970 |
| CWE-295 | weakness | CWE-295 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 27, 2026 at 22:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.