Vulnerabilities / CVE-2026-40974

critical

CVE-2026-40974

Spring Boot: Cassandra: Spring Boot: Security bypass in Cassandra SSL connections

Published Modified CWE 295
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA5.0CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Red Hat6.4CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium), Red Hat (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.springframework.boot:spring-boot-cassandra4.0.6, 3.5.14
Red Hatlog4j, log4j-jcl, log4j-slf4j and 5 moreno fix listed
Show all 9 entries from 2 sources
SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.springframework.boot:spring-boot-cassandra4.0.6, 3.5.14
Red Hatlog4jno fix listed
Red Hatlog4j-jclno fix listed
Red Hatlog4j-slf4jno fix listed
Red Hatlog4j:2::log4jno fix listed
Red Hatlog4j:2::log4j-jclno fix listed
Red Hatlog4j:2::log4j-slf4jno fix listed
Red Hatlog4j:2::log4j-webno fix listed
Red Hatspring-bootno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.