CVE-2026-40976
"Spring Boot Default Web Security Bypass"
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.
INFO
Published Date :
April 28, 2026, 12:16 a.m.
Last Modified :
July 15, 2026, 2:21 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | dcf2e128-44bd-42ed-91e8-88f912c1401d | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | CRITICAL | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c |
Solution
- Upgrade Spring Boot to version 4.0.6 or later.
- Implement custom Spring Security configuration.
- Ensure Actuator endpoints are properly secured.
Public PoC/Exploit Available at Github
CVE-2026-40976 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-40976.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-40976 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-40976
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Groovy Shell JavaScript Java
None
Java JavaScript HTML CSS
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-40976 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-40976 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jul. 15, 2026
Action Type Old Value New Value Changed Affected [{'cpes': ['cpe:/a:redhat:jboss_data_grid:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Data Grid 8', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:amq_broker:7'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Broker 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:amq_clients:2023'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Clients', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:apache_camel_hawtio:4'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel - HawtIO 4', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:camel_spring_boot:4'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel for Spring Boot 4', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:optaplanner:::el6'], 'vendor': 'Red Hat', 'product': 'Red Hat build of OptaPlanner 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_devspaces:3'], 'vendor': 'Red Hat', 'product': 'Red Hat OpenShift Dev Spaces', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_bpms_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Process Automation 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:red_hat_single_sign_on:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Single Sign-On 7', 'defaultStatus': 'unaffected'}] [{'cpes': ['cpe:/a:redhat:amq_broker:7'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Broker 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:amq_broker:7'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Broker 7', 'packageName': 'spring-boot-actuator-autoconfigure', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:amq_clients:2023'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Clients', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:camel_spring_boot:4'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel for Spring Boot 4', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:camel_spring_boot:4'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel for Spring Boot 4', 'packageName': 'spring-boot-actuator-autoconfigure', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:apache_camel_hawtio:4'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel - HawtIO 4', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:apache_camel_hawtio:4'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel - HawtIO 4', 'packageName': 'spring-boot-actuator-autoconfigure', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:optaplanner:::el6'], 'vendor': 'Red Hat', 'product': 'Red Hat build of OptaPlanner 8', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_data_grid:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Data Grid 8', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:jboss_data_grid:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Data Grid 8', 'packageName': 'spring-boot-actuator-autoconfigure', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'packageName': 'log4j:2/log4j', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'packageName': 'log4j', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'packageName': 'spring-boot-actuator-autoconfigure', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 7', 'packageName': 'spring-boot-actuator-autoconfigure', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'packageName': 'spring-boot-actuator-autoconfigure', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'packageName': 'spring-boot-actuator-autoconfigure', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_devspaces:3'], 'vendor': 'Red Hat', 'product': 'Red Hat OpenShift Dev Spaces', 'packageName': 'devspaces/openvsx-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_devspaces:3'], 'vendor': 'Red Hat', 'product': 'Red Hat OpenShift Dev Spaces', 'packageName': 'devspaces/pluginregistry-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_bpms_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Process Automation 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:red_hat_single_sign_on:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Single Sign-On 7', 'packageName': 'spring-boot', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}] -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jun. 30, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:/a:redhat:jboss_data_grid:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Data Grid 8', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:amq_broker:7'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Broker 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:amq_clients:2023'], 'vendor': 'Red Hat', 'product': 'Red Hat AMQ Clients', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:apache_camel_hawtio:4'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel - HawtIO 4', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:camel_spring_boot:4'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Apache Camel for Spring Boot 4', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:optaplanner:::el6'], 'vendor': 'Red Hat', 'product': 'Red Hat build of OptaPlanner 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:8'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_fuse:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Fuse 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_application_platform:8'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform 8', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jbosseapxp'], 'vendor': 'Red Hat', 'product': 'Red Hat JBoss Enterprise Application Platform Expansion Pack', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_devspaces:3'], 'vendor': 'Red Hat', 'product': 'Red Hat OpenShift Dev Spaces', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:jboss_enterprise_bpms_platform:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Process Automation 7', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:red_hat_single_sign_on:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Single Sign-On 7', 'defaultStatus': 'unaffected'}] Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Added CWE CWE-305 Added Reference https://access.redhat.com/security/cve/CVE-2026-40976 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2463322 Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40976.json -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Spring', 'modules': ['spring-boot-actuator-autoconfigure'], 'product': 'Spring Boot', 'versions': [{'status': 'affected', 'version': '4.0.0', 'lessThan': '4.0.6', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-40976', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-04-28T00:00:00+00:00'} -
Initial Analysis by [email protected]
Apr. 30, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.0.6 Added Reference Type VMware: https://spring.io/security/cve-2026-40976 Types: Vendor Advisory -
New CVE Received by [email protected]
Apr. 28, 2026
Action Type Old Value New Value 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Added CWE CWE-862 Added Reference https://spring.io/security/cve-2026-40976