{"answers":{"affected":"10 open source packages ship an affected version, including org.springframework.boot:spring-boot-devtools. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40972 in the wild and no public exploit code.","fix":"Upgrade org.springframework.boot:spring-boot-devtools to a fixed version for your release line: 3.5.14 or 4.0.6.","what":"CVE-2026-40972 is a high-severity vulnerability in Spring Boot, published on 27 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40972 and fix it if it is affected.\n\nWhat it is: CVE-2026-40972 is a high-severity vulnerability in Spring Boot, published on 27 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40972 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.boot:spring-boot-devtools (Maven): affected all versions up to 2.7.32; no fix listed\n- org.springframework.boot:spring-boot-devtools (Maven): affected all versions up to 2.7.32; no fix listed\n- org.springframework.boot:spring-boot-devtools (Maven): affected from 3.3.0 up to 3.3.18; no fix listed\n- org.springframework.boot:spring-boot-devtools (Maven): affected from 3.3.0 up to 3.3.18; no fix listed\n- org.springframework.boot:spring-boot-devtools (Maven): affected from 3.4.0 up to 3.4.15; no fix listed\n- org.springframework.boot:spring-boot-devtools (Maven): affected from 3.4.0 up to 3.4.15; no fix listed\n- org.springframework.boot:spring-boot-devtools (Maven): affected from 3.5.0; fixed in 3.5.14\n- org.springframework.boot:spring-boot-devtools (Maven): affected from 3.5.0; fixed in 3.5.14\n- org.springframework.boot:spring-boot-devtools (Maven): affected from 4.0.0; fixed in 4.0.6\n- org.springframework.boot:spring-boot-devtools (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-40972/ (Markdown: https://insights.sbomify.com/CVE-2026-40972/index.md)","id":"CVE-2026-40972","markdown":"https://insights.sbomify.com/CVE-2026-40972/index.md","name":"CVE-2026-40972","record":{"aliases":["CLSA-2026-1779238043","CLSA-2026-1779324467","CLSA-2026-1779410892","ECHO-daf7-d2da-7209","GHSA-56v8-86gj-66jp","RHLW-2026-847d178ef0f52697","ROOT-APP-MAVEN-CVE-2026-40972"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Spring Boot DevTools","requires_auth":"none","summary":"A timing attack in Spring Boot DevTools allows attackers to discover the remote secret, potentially leading to remote code execution via class uploads.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_boot","vendor":"vmware"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"description":"An attacker on the same network as the remote application may be able to utilize a timing attack to discover information about the remote secret. In extreme circumstances this could result in the attacker determining the secret and uploading changed classes, thereby achieving remote code execution in the remote application.\n\nAffected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); DevTools remote secret comparison. Versions that are no longer supported are also affected per vendor advisory.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Spring Boot DevTools remote secret comparison is vulnerable to timing attacks","id":"CVE-2026-40972","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":10,"n_references":1,"next":{"headline":"Spring Boot accepts predictable temp directory without ownership verification","id":"CVE-2026-40973"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["2.7.32"],"package":"org.springframework.boot:spring-boot-devtools","purl":null,"source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["2.7.32"],"package":"org.springframework.boot:spring-boot-devtools","purl":"pkg:maven/org.springframework.boot/spring-boot-devtools","source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":[],"introduced":["3.3.0"],"last_affected":["3.3.18"],"package":"org.springframework.boot:spring-boot-devtools","purl":null,"source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":[],"introduced":["3.3.0"],"last_affected":["3.3.18"],"package":"org.springframework.boot:spring-boot-devtools","purl":"pkg:maven/org.springframework.boot/spring-boot-devtools","source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":[],"introduced":["3.4.0"],"last_affected":["3.4.15"],"package":"org.springframework.boot:spring-boot-devtools","purl":null,"source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":[],"introduced":["3.4.0"],"last_affected":["3.4.15"],"package":"org.springframework.boot:spring-boot-devtools","purl":"pkg:maven/org.springframework.boot/spring-boot-devtools","source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":["3.5.14"],"introduced":["3.5.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot-devtools","purl":null,"source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":["3.5.14"],"introduced":["3.5.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot-devtools","purl":"pkg:maven/org.springframework.boot/spring-boot-devtools","source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":["4.0.6"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot-devtools","purl":null,"source":"GHSA-56v8-86gj-66jp"},{"ecosystem":"Maven","fixed":["4.0.6"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot-devtools","purl":"pkg:maven/org.springframework.boot/spring-boot-devtools","source":"GHSA-56v8-86gj-66jp"}],"prev":{"headline":"Spring Boot's RabbitMQ auto-configuration doesn't perform hostname verification when connecting to the RabbitMQ broker","id":"CVE-2026-40971"},"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":9.1,"headline":"Spring Boot's default security filter chain has no authorization rule with Actuator but without Health","id":"CVE-2026-40976","kev_date_added":null,"published":"2026-04-27"},{"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 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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-29","vendors":["Spring"]},"summary":"A timing attack in Spring Boot DevTools allows attackers to discover the remote secret, potentially leading to remote code execution via class uploads.","url":"https://insights.sbomify.com/CVE-2026-40972/"}