Spring Boot
CVE-2026-40976
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Spring Boot 4.0.0-4.0.5 application
-
DeliverySend unauthenticated HTTP request to protected endpoint
-
ExploitBypass missing security filter
-
ExecutionAccess sensitive actuator/business endpoints
-
ImpactExfiltrate data or modify application state
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Vulnerable deployment requires ALL of the following: servlet-based web application architecture (not reactive/WebFlux); spring-boot-actuator-autoconfigure dependency present in the application; spring-boot-health dependency NOT present in the application; no custom Spring Security configuration defined (relying entirely on Spring Boot autoconfiguration). If the application implements any custom SecurityFilterChain bean, uses reactive/WebFlux stack instead of servlet, includes spring-boot-health dependency, or does not use actuator-autoconfigure, it is NOT vulnerable. Network accessibility to application endpoints is required for remote exploitation (AV:N), but no authentication (PR:N), no user interaction (UI:N), and low attack complexity (AC:L) mean any network-reachable instance meeting dependency conditions is trivially exploitable. |
| Impact | Real-world risk is HIGH but deployment-specific. CVSS 9.1 (Critical) accurately reflects the security impact when vulnerable configurations exist: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), and high confidentiality/integrity impact (C:H/I:H). However, exploitation requires a narrow dependency configuration - applications must use actuator-autoconfigure WITHOUT spring-boot-health AND have no custom Spring Security configuration. Many production Spring Boot applications implement custom security or include the full actuator suite (including health), which would NOT be vulnerable. EPSS data not provided but expected to be moderate given the specific prerequisites. No CISA KEV listing and no public exploit identified at time of analysis, suggesting no confirmed widespread exploitation. SSVC decision: exploitation status unknown, automatable once conditions met (AC:L), technical impact is total for affected deployments (full authentication bypass). Priority depends on internal configuration audit - organizations using affected dependency combinations should treat as CRITICAL and patch immediately; others can prioritize based on standard change management cycles after verifying non-vulnerable status. |
| Exploit ScenarioDerived | Remote attacker identifies a Spring Boot 4.0.x application with actuator endpoints exposed (common in microservice architectures). Without authentication, the attacker sends HTTP requests directly to application endpoints that should be protected. Due to the missing security filter chain, all requests succeed without authorization checks. Attacker accesses sensitive actuator endpoints to enumerate configuration details, environment variables containing credentials, and application metrics. Using discovered credentials or internal API knowledge, attacker modifies application state through management endpoints or accesses business logic endpoints to exfiltrate data or manipulate records. No public exploit code identified at time of analysis, but exploitation is trivial once vulnerable configuration is confirmed (AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
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.
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.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Spring Boot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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.
Blast Radius
ecosystem impact- 1,963 maven packages depend on org.springframework.boot:spring-boot (122 direct, 1,841 indirect)
Ecosystem-wide dependent count for version 4.0.0.
Executive ViewAI
Spring Boot versions 4.0.0 through 4.0.5 contain a critical authentication bypass vulnerability that allows unauthenticated remote attackers to access all application endpoints, completely circumventing security controls. Organizations running affected Spring Boot versions with actuator-autoconfigure and default security configurations face immediate risk of unauthorized data access and system compromise. This requires emergency patching across all impacted applications.
Vendor-released patch: Spring Boot 4.0.6 or later. Interim mitigation if upgrade delayed: implement network-level access controls restricting endpoint visibility to trusted networks only; apply explicit Spring Security configuration overriding defaults; disable spring-boot-actuator if not required. These mitigations do not eliminate the vulnerability and are temporary only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Related Vulnerabilities in Spring Boot Configuration Security Issues
View all 5More in Spring Boot
View allMalicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions pri
spring-boot versions prior to version v2.2.11.RELEASE was vulnerable to temporary directory hijacking. Rated high severi
In Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions, an application that is deployed t
Element Plug-in for vCenter Server incorporates SpringBoot Framework. Rated critical severity (CVSS 9.8), this vulnerabi
Unauthorized read access to book records in TaleLin lin-cms-spring-boot 0.2.1 and earlier is possible through the search
Improper authorization in TaleLin lin-cms-spring-boot through 0.2.1 lets unauthenticated remote attackers read book reco
Improper authorization in TaleLin lin-cms-spring-boot 0.2.1 and earlier lets remote unauthenticated attackers read book
Spring Boot's RabbitMQ auto-configuration omits TLS hostname verification when an SSL bundle is configured, enabling a m
This is an authentication bypass vulnerability in Spring Boot applications using Spring Security with Actuator endpoints
Spring Boot Actuator endpoints can be bypassed for authentication when application endpoints are configured under Health
Timing attack against Spring Boot DevTools remote secret comparison allows adjacent network attackers to recover the sha
GHSA-8v8j-3hxp-93wr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB