Vulnerability in Spring Boot

CVE-2026-40974

Spring Boot's Cassandra auto-configuration does not perform hostname verification when establishing an SSL connection to Cassandra. Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); Cassandra SSL auto-configuration. Versions that are no longer supported are also affected per vendor advisory.

Vulnerability class: Improper Certificate Validation

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.

EPSS exploit prediction

EPSS: 0.004 (28.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 28.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-40974: held from 0.002 to 0.004.

EPSS over last 30 days · oldest: 0.002 · newest: 0.004 · change: +0.002

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-40974?
CVE-2026-40974 is a medium-severity vulnerability in Spring Boot, classified under Improper Certificate Validation. CVSS score: 5.0/10. Published 2026-04-28.
How severe is CVE-2026-40974?
Medium severity. CVSS v3 base score is 5.0 out of 10.