Spring Boot
CVE-2026-40976
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Lifecycle Timeline
4Blast Radius
ecosystem impact- 1,921 maven packages depend on org.springframework.boot:spring-boot (120 direct, 1,801 indirect)
Ecosystem-wide dependent count for version 4.0.0.
DescriptionCVE.org
In certain circumstances, Spring Boot's default web security is ineffective allowing unauthorized access to all endpoints. For an application to be vulnerable, it must: be a servlet-based web application; have no Spring Security configuration of its own and rely on the default web security filter chain; depend on spring-boot-actuator-autoconfigure; not depend on spring-boot-health. If any of the above does not apply, the application is not vulnerable.
Affected: Spring Boot 4.0.0-4.0.5; upgrade to 4.0.6 or later per vendor advisory.
AnalysisAI
Authentication bypass in Spring Boot 4.0.0-4.0.5 allows remote unauthenticated attackers to access all application endpoints, bypassing default web security filters entirely. Affects servlet-based applications using spring-boot-actuator-autoconfigure without custom Spring Security configuration and without spring-boot-health dependency. Vendor patch released (upgrade to 4.0.6+). No public exploit code identified at time of analysis, but CVSS 9.1 with network attack vector (AV:N/AC:L/PR:N) indicates trivial exploitation once configuration prerequisites are met.
Technical ContextAI
This vulnerability affects Spring Boot's autoconfiguration mechanism for web security in servlet-based applications. The issue stems from CWE-862 (Missing Authorization), where the framework fails to properly initialize the default web security filter chain under specific dependency conditions. The vulnerability occurs when spring-boot-actuator-autoconfigure is present but spring-boot-health is absent, creating a gap in the security filter registration logic. Spring Boot's convention-over-configuration design normally applies sensible security defaults for web applications, but this combination of dependencies causes the default SecurityFilterChain to fail initialization, leaving endpoints completely unprotected. The servlet container processes requests without any authorization checks, granting unrestricted access to application resources including actuator endpoints that may expose sensitive operational data.
RemediationAI
Upgrade to Spring Boot 4.0.6 or later as confirmed by VMware/Spring vendor advisory at https://spring.io/security/cve-2026-40976. For applications unable to upgrade immediately, implement one of these compensating controls: (1) Add explicit Spring Security configuration with SecurityFilterChain bean definition to override vulnerable defaults - this restores authorization checks but requires development effort and testing; (2) Add spring-boot-health dependency to the project, which prevents the vulnerable autoconfiguration path - minimal code change but increases application footprint and may expose health endpoints; (3) Remove spring-boot-actuator-autoconfigure dependency if actuator features are not required - eliminates attack surface but loses operational monitoring capabilities. All workarounds require application redeployment. Verify effectiveness by testing unauthenticated access to protected endpoints post-mitigation.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
GHSA-8v8j-3hxp-93wr