{"answers":{"affected":"6 open source packages ship an affected version, including org.springframework.boot:spring-boot-starter-mail. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40992 in the wild and no public exploit code.","fix":"Upgrade org.springframework.boot:spring-boot-starter-mail to a fixed version for your release line: 3.5.15 or 4.0.7.","what":"CVE-2026-40992 is a medium-severity vulnerability in Spring Boot, published on 11 Jun 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-40992 and fix it if it is affected.\n\nWhat it is: CVE-2026-40992 is a medium-severity vulnerability in Spring Boot, published on 11 Jun 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-40992 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.boot:spring-boot-starter-mail (Maven): affected from 3.4.0 up to 3.4.16; no fix listed\n- org.springframework.boot:spring-boot-starter-mail (Maven): affected from 3.4.0 up to 3.4.16; no fix listed\n- org.springframework.boot:spring-boot-starter-mail (Maven): affected from 3.5.0; fixed in 3.5.15\n- org.springframework.boot:spring-boot-starter-mail (Maven): affected from 3.5.0; fixed in 3.5.15\n- org.springframework.boot:spring-boot-starter-mail (Maven): affected from 4.0.0; fixed in 4.0.7\n- org.springframework.boot:spring-boot-starter-mail (Maven): affected from 4.0.0; fixed in 4.0.7\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-40992/ (Markdown: https://insights.sbomify.com/CVE-2026-40992/index.md)","id":"CVE-2026-40992","markdown":"https://insights.sbomify.com/CVE-2026-40992/index.md","name":"CVE-2026-40992","record":{"aliases":["CLEANSTART-2026-CZ64223","ECHO-2654-53dc-59a6","GHSA-9wxp-w4px-32vh","ROOT-APP-MAVEN-CVE-2026-40992"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Spring Boot framework","requires_auth":"none","summary":"Spring Boot mail auto-configuration fails to verify SSL hostnames, allowing man-in-the-middle attacks unless explicitly configured.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_boot","vendor":"vmware"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"Spring Boot's Mail auto-configuration does not enable hostname verification. Applications that set the relevant JavaMail property, such as spring.mail.properties.mail.smtp.ssl.checkserveridentity=true, are not affected.\n\nAffected versions:\nSpring Boot 4.0.0 through 4.0.6; 3.5.0 through 3.5.14; 3.4.0 through 3.4.16.","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":"Mail Auto-Configuration Does Not Enable SSL Hostname Verification","id":"CVE-2026-40992","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"Unfiltered Java Native Deserialization of SAML 2.0 Asserting Party Credentials BLOB Database Entry","id":"CVE-2026-40993"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["3.4.0"],"last_affected":["3.4.16"],"package":"org.springframework.boot:spring-boot-starter-mail","purl":null,"source":"GHSA-9wxp-w4px-32vh"},{"ecosystem":"Maven","fixed":[],"introduced":["3.4.0"],"last_affected":["3.4.16"],"package":"org.springframework.boot:spring-boot-starter-mail","purl":"pkg:maven/org.springframework.boot/spring-boot-starter-mail","source":"GHSA-9wxp-w4px-32vh"},{"ecosystem":"Maven","fixed":["3.5.15"],"introduced":["3.5.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot-starter-mail","purl":null,"source":"GHSA-9wxp-w4px-32vh"},{"ecosystem":"Maven","fixed":["3.5.15"],"introduced":["3.5.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot-starter-mail","purl":"pkg:maven/org.springframework.boot/spring-boot-starter-mail","source":"GHSA-9wxp-w4px-32vh"},{"ecosystem":"Maven","fixed":["4.0.7"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot-starter-mail","purl":null,"source":"GHSA-9wxp-w4px-32vh"},{"ecosystem":"Maven","fixed":["4.0.7"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot-starter-mail","purl":"pkg:maven/org.springframework.boot/spring-boot-starter-mail","source":"GHSA-9wxp-w4px-32vh"}],"prev":{"headline":"XML External Entity (XXE) injection when documenting untrusted XML content","id":"CVE-2026-40991"},"products":["Spring Boot"],"published":"2026-06-11","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 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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-23","vendors":["Spring"]},"summary":"Spring Boot mail auto-configuration fails to verify SSL hostnames, allowing man-in-the-middle attacks unless explicitly configured.","url":"https://insights.sbomify.com/CVE-2026-40992/"}