{"id":"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.\n\nAffected: Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later per vendor advisory.","aliases":["GHSA-8v8j-3hxp-93wr"],"modified":"2026-07-08T08:09:30.063331733Z","published":"2026-04-27T23:34:51.422Z","related":["CGA-q8x6-f684-36q2"],"database_specific":{"cwe_ids":["CWE-862"],"unresolved_ranges":[{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.6"}],"source":"AFFECTED_FIELD"}],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40976.json","cna_assigner":"vmware"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40976.json"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40976"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-40976"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40976.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40976"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463322"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-boot","events":[{"introduced":"1c0e08b4c434b0e77a83098267b2a0f5a3fc56d7"},{"fixed":"8821ad2cd381bb4b9615a61479e1de7305a8ba39"}],"database_specific":{"cpe":"cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.0.6"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40976.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}