Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-40970
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:32 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-40970
Complete source record
{
"id": "926a23c085e75355e7b4a59a96752d67e691fdaa0af8eb54381812a04cc12aad",
"url": "https://osv.dev/vulnerability/CVE-2026-40970",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-40970",
"summary": "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.",
"evidence": "osv:CVE-2026-40970",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-40970",
"aliases": [
"CVE-2026-40970",
"GHSA-c96x-rpm4-349p"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-boot",
"type": "GIT",
"events": [
{
"introduced": "1c0e08b4c434b0e77a83098267b2a0f5a3fc56d7"
},
{
"fixed": "8821ad2cd381bb4b9615a61479e1de7305a8ba39"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.6"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40970.json"
}
}
],
"modified": "2026-10-28T02:30:45.991168277Z",
"provider": "osv",
"references": [
"https://spring.io/security/cve-2026-40970",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40970.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-40970"
],
"provider_metadata": {
"cwe_ids": [
"CWE-295"
],
"cna_assigner": "vmware",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40970.json"
}
},
"related_cves": [
{
"value": "CVE-2026-40970",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514302,
"published_at": "2026-04-27T19:09:58.835+00:00"
}