{"answers":{"affected":"2 open source packages ship an affected version, including org.springframework.boot:spring-boot. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40976 in the wild and no public exploit code.","fix":"Upgrade org.springframework.boot:spring-boot to 4.0.6 or later.","what":"CVE-2026-40976 is a critical missing authorization vulnerability in Spring Boot, published on 27 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40976 and fix it if it is affected.\n\nWhat it is: CVE-2026-40976 is a critical missing authorization vulnerability in Spring Boot, published on 27 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40976 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.boot:spring-boot (Maven): affected from 4.0.0; fixed in 4.0.6\n- org.springframework.boot:spring-boot (Maven): affected from 4.0.0; fixed in 4.0.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40976/ (Markdown: https://insights.sbomify.com/CVE-2026-40976/index.md)","id":"CVE-2026-40976","markdown":"https://insights.sbomify.com/CVE-2026-40976/index.md","name":"CVE-2026-40976","record":{"aliases":["CLEANSTART-2026-KC47770","CLEANSTART-2026-UJ95320","GHSA-8v8j-3hxp-93wr","MINI-235v-2h4r-f866","ROOT-APP-MAVEN-CVE-2026-40976"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Boot framework","requires_auth":"none","summary":"Attackers can access all endpoints in specific Spring Boot configurations lacking custom security, leading to unauthorized data exposure or modification.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_boot","vendor":"vmware"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"},{"id":"CWE-862","name":"Missing Authorization"}],"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.\n\nAffected: Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later per vendor advisory.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-09-03","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-03T08:19:18Z","kind":"github_poc","ref":"https://github.com/madebyrokit/CVE-2026-40976-POC","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Spring Boot's default security filter chain has no authorization rule with Actuator but without Health","id":"CVE-2026-40976","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Spring Boot's PID file write follows symlinks at predictable default path","id":"CVE-2026-40977"},"packages":[{"ecosystem":"Maven","fixed":["4.0.6"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot","purl":null,"source":"GHSA-8v8j-3hxp-93wr"},{"ecosystem":"Maven","fixed":["4.0.6"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot","purl":"pkg:maven/org.springframework.boot/spring-boot","source":"GHSA-8v8j-3hxp-93wr"}],"prev":{"headline":"Spring Boot's random value property source uses a weak PRNG unsuitable for secrets","id":"CVE-2026-40975"},"products":["Spring Boot"],"published":"2026-04-27","related":[{"cvss_score":9.8,"headline":"Spring Boot Security Bypass with Wildcard Pattern Matching on Cloud Foundry","id":"CVE-2023-20873","kev_date_added":null,"published":"2023-04-20"},{"cvss_score":8.2,"headline":"Authentication Bypass under Actuator Health groups paths","id":"CVE-2026-22731","kev_date_added":null,"published":"2026-03-19"},{"cvss_score":8.2,"headline":"Authentication Bypass under Actuator CloudFoundry endpoints","id":"CVE-2026-22733","kev_date_added":null,"published":"2026-03-19"},{"cvss_score":7.8,"headline":"Temporary Directory Hijacking to Local Privilege Escalation Vulnerability in org.springframework.boot:spring-boot","id":"CVE-2022-27772","kev_date_added":null,"published":"2022-03-30"},{"cvss_score":7.5,"headline":"Spring Boot DevTools remote secret comparison is vulnerable to timing attacks","id":"CVE-2026-40972","kev_date_added":null,"published":"2026-04-27"},{"cvss_score":7.5,"headline":"Spring Boot Welcome Page Denial of Service","id":"CVE-2023-20883","kev_date_added":null,"published":"2023-05-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["Spring"]},"summary":"Attackers can access all endpoints in specific Spring Boot configurations lacking custom security, leading to unauthorized data exposure or modification.","url":"https://insights.sbomify.com/CVE-2026-40976/"}