CVE-2026-40976

Spring Boot: Spring Boot: Security bypass due to ineffective default web security

Published Apr 27, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability occurs when a Spring Boot application that is servlet‑based, uses the default web security filter chain without any custom Spring Security configuration, includes spring‑boot‑actuator‑autoconfigure, but does not depend on spring‑boot‑health. Under these circumstances the default security is ineffective, allowing an unauthenticated user to reach every endpoint of the application. This missing authorization flaw (CWE‑862) and the insecure default configuration (CWE‑305) can expose or modify sensitive data and services, making the application vulnerable to unauthorized exploitation.

Affected Systems

Spring Boot versions 4.0.0 through 4.0.5 are vulnerable if the application meets the above conditions. Updating to 4.0.6 or later addresses the issue.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity. The EPSS score of < 1% indicates a very low but non‑zero probability of exploitation. The vulnerability is not listed in CISA KEV. The likely attack vector is exploiting the default filter chain by sending HTTP requests to any endpoint without authentication, which is feasible for an attacker who can reach the application over the network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring Boot to version 4.0.6 or later.
  • Add explicit Spring Security configuration to enforce authentication and authorization if upgrading is not immediately possible.
  • If custom security is required but cannot be added, disable spring‑boot‑actuator‑autoconfigure or remove its dependency.

Generated by OpenCVE AI on May 14, 2026 at 14:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8v8j-3hxp-93wr Spring Boot's default security filter chain has no authorization rule with Actuator but without Health
History
Type Values Removed Values Added
Title Default Web Security Misconfiguration in Spring Boot Spring Boot: Spring Boot: Security bypass due to ineffective default web security
Weaknesses CWE-305
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Boot
CPEs cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Boot
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Default Web Security Misconfiguration in Spring Boot
Type Values Removed Values Added
First Time appeared Spring
Spring spring Boot
Vendors & Products Spring
Spring spring Boot
Type Values Removed Values Added
Description 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.
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-305

    Authentication Bypass by Primary Weakness

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jul 15, 2026, 1:00 AM
Reserved
Apr 16, 2026, 2:19 AM
Status
Modified
Published
Apr 28, 2026, 12:16 AM
Modified
Jul 24, 2026, 9:10 PM
Severity
Important
Public date
Apr 27, 2026, 11:34 PM