CVE-2026-40976
In certain circumstances, Spring Boot's default web security is …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- spring.io/security/cve-2026-40976
- nvd.nist.gov/vuln/detail/CVE-2026-40976
- github.com/advisories/GHSA-8v8j-3hxp-93wr
- access.redhat.com/security/cve/CVE-2026-40976
- bugzilla.redhat.com/show_bug.cgi?id=2463322
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40976.json
- nvd.nist.gov/vuln/detail/CVE-2026-40976
- cve.org/CVERecord?id=CVE-2026-40976
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.