Skip to main content

Spring Boot CVE-2026-40976

CRITICAL
Missing Authorization (CWE-862)
2026-04-28 security@vmware.com GHSA-8v8j-3hxp-93wr
9.1
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Spring Boot 4.0.0-4.0.5 application
  2. Delivery
    Send unauthenticated HTTP request to protected endpoint
  3. Exploit
    Bypass missing security filter
  4. Execution
    Access sensitive actuator/business endpoints
  5. Impact
    Exfiltrate 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).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

maven org.springframework.boot:spring-boot fix: 4.0.6

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

Vendor (vmware) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 9.1 HIGH

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
CVE-2017-8046 CRITICAL POC
9.8 Jan 04

Malicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions pri

CVE-2022-27772 HIGH POC
7.8 Mar 30

spring-boot versions prior to version v2.2.11.RELEASE was vulnerable to temporary directory hijacking. Rated high severi

CVE-2023-20873 CRITICAL
9.8 Apr 20

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

CVE-2021-26987 CRITICAL
9.8 Mar 15

Element Plug-in for vCenter Server incorporates SpringBoot Framework. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2026-96882 MEDIUM POC
5.5 Sep 24

Unauthorized read access to book records in TaleLin lin-cms-spring-boot 0.2.1 and earlier is possible through the search

CVE-2026-96881 MEDIUM POC
5.5 Sep 24

Improper authorization in TaleLin lin-cms-spring-boot through 0.2.1 lets unauthenticated remote attackers read book reco

CVE-2026-96880 MEDIUM POC
5.5 Sep 24

Improper authorization in TaleLin lin-cms-spring-boot 0.2.1 and earlier lets remote unauthenticated attackers read book

CVE-2026-40971 CRITICAL
9.1 Apr 27

Spring Boot's RabbitMQ auto-configuration omits TLS hostname verification when an SSL bundle is configured, enabling a m

CVE-2026-22733 HIGH
8.2 Mar 20

This is an authentication bypass vulnerability in Spring Boot applications using Spring Security with Actuator endpoints

CVE-2026-22731 HIGH
8.2 Mar 19

Spring Boot Actuator endpoints can be bypassed for authentication when application endpoints are configured under Health

CVE-2026-40972 HIGH
7.5 Apr 27

Timing attack against Spring Boot DevTools remote secret comparison allows adjacent network attackers to recover the sha

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy