Back

CRITICAL

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

Published Apr 27, 2026

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.

Affected products

Remediation

Red Hat statement

This is an Important flaw in Spring Boot that allows security bypass under specific application configurations. When a servlet-based web application lacks custom Spring Security configuration, relies on the default web security filter chain, depends on `spring-boot-actuator-autoconfigure`, and does not include `spring-boot-health`, an attacker can gain unauthorized access to all application endpoints. Red Hat JBoss Data Grid (jdg-8.6) is affected by this vulnerability.

Red Hat mitigation

To mitigate this flaw, ensure that Spring Boot applications either implement their own Spring Security configuration, thereby not relying on the default web security filter chain, or include a dependency on `spring-boot-health`. Applications that do not meet all the specific conditions outlined for vulnerability are not affected. If `spring-boot-actuator-autoconfigure` is not strictly required, consider removing it.

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner vmware
Published Apr 27, 2026
Updated Jul 15, 2026
Reserved Apr 16, 2026
CISA Vulnrichment
Updated Apr 28, 2026
NVD
Status Modified
Modified Jul 24, 2026
Red Hat
Severity Important
Public date Apr 27, 2026
GHSA-8V8J-3HXP-93WR