ADVISORIES

GitHub Advisory Database

GHSA-8v8j-3hxp-93wr

Spring Boot's default security filter chain has no authorization rule with Actuator but without Health

Critical CVE-2026-40976

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.boot:spring-boot
From 4.0.0 before 4.0.6 (fixed in 4.0.6)

References