Skip to content
Security Alerts

CVE-2026-40976: Spring Boot default web security ineffective, allows unauthorized access

Under specific conditions Spring Boot 4.0.0-4.0.5 default web security is ineffective and allows unauthorized access to all endpoints in servlet web applications relying on the default filter chain...

Summary

ParameterValue
CVE IDCVE-2026-40976
Alert SourceGitHub Advisory - Critical Vulnerability
CVE Publication Year2026
Date Published2026-04-28
VendorVMware
ProductSpring Boot
CVSS Score9.1 (critical)
EPSS ScoreNo data
CISA KEVNo
RansomwareNot confirmed

Vulnerability 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; and 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 a patched release.

Required Actions

Update Spring Boot to a version newer than 4.0.5 containing the patch immediately. Until the patch is deployed, add an explicit Spring Security configuration for all endpoints or add a spring-boot-health dependency, which disables the vulnerable default configuration path. Review application logs and HTTP traffic for unauthorized access to /actuator/* and other protected resources.

Who Is Affected?

This vulnerability affects Spring Boot by VMware. Check whether your organization uses Spring Boot 4.0.0-4.0.5 with spring-boot-actuator-autoconfigure without a custom Spring Security configuration, and update the framework to a patched version without delay.

Sources


Need help securing your systems? nFlo team offers vulnerability management and 24/7 SOC services. Contact us.

Learn More

Share:

Talk to an expert

Have questions about this topic? Get in touch with our specialist.

Sales Representative
Grzegorz Gnych

Grzegorz Gnych

Sales Representative

Response within 24 hours
Free consultation
Individual approach

Providing your phone number will speed up contact.

Want to Reduce IT Risk and Costs?

Book a free consultation - we respond within 24h

Response in 24h Free quote No obligations

Or download free guide:

Download NIS2 Checklist