{"answers":{"affected":"12 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-config-server. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41002 in the wild and no public exploit code.","fix":"Upgrade org.springframework.cloud:spring-cloud-config-server to a fixed version for your release line: 4.3.3 or 5.0.3.","what":"CVE-2026-41002 is a high-severity vulnerability in Spring Cloud Config, published on 7 May 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-41002 and fix it if it is affected.\n\nWhat it is: CVE-2026-41002 is a high-severity vulnerability in Spring Cloud Config, published on 7 May 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-41002 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 3.0.0 up to 3.0.7; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 3.0.0 up to 3.0.7; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 3.1.0 up to 3.1.13; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 3.1.0 up to 3.1.13; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 4.1.0 up to 4.1.9; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 4.1.0 up to 4.1.9; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 4.2.0 up to 4.2.6; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 4.2.0 up to 4.2.6; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 4.3.0; fixed in 4.3.3\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 4.3.0; fixed in 4.3.3\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 5.0.0; fixed in 5.0.3\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected from 5.0.0; fixed in 5.0.3\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-41002/ (Markdown: https://insights.sbomify.com/CVE-2026-41002/index.md)","id":"CVE-2026-41002","markdown":"https://insights.sbomify.com/CVE-2026-41002/index.md","name":"CVE-2026-41002","record":{"aliases":["GHSA-86wq-234q-r6wg","ROOT-APP-MAVEN-CVE-2026-41002"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Spring Cloud Config Server","requires_auth":"high_privilege","summary":"Attackers can exploit a race condition in the Git repository cloning process to potentially execute code or escalate privileges.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_cloud_config","vendor":"vmware"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"The base directory (`spring.cloud.config.server.git.basedir`) used by the Spring Cloud Config Server to clone Git repositories to is susceptible to time-of-check-time-of-use (TOCTOU) attacks.\nSpring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to 4.2.7 or greater (Enterprise Support Only). Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater. Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater.","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 Cloud Config Server Susceptible To TOCTOU Attack","id":"CVE-2026-41002","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":12,"n_references":1,"next":{"headline":"Unencoded HTML Outputs in Spring Security May Allow Cross-Site Scripting","id":"CVE-2026-41003"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["3.0.0"],"last_affected":["3.0.7"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":[],"introduced":["3.0.0"],"last_affected":["3.0.7"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.1.13"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.1.13"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":[],"introduced":["4.1.0"],"last_affected":["4.1.9"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":[],"introduced":["4.1.0"],"last_affected":["4.1.9"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":[],"introduced":["4.2.0"],"last_affected":["4.2.6"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":[],"introduced":["4.2.0"],"last_affected":["4.2.6"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":["4.3.3"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":["4.3.3"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-86wq-234q-r6wg"},{"ecosystem":"Maven","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server","source":"GHSA-86wq-234q-r6wg"}],"prev":{"headline":"Predictable Temp Directory in Artemis Auto-configuration","id":"CVE-2026-41001"},"products":["Spring Cloud Config"],"published":"2026-05-07","related":[{"cvss_score":7.5,"headline":"VMware Tanzu Spring Cloud Config Directory Traversal","id":"CVE-2020-5410","kev_date_added":"2022-03-25","published":"2020-06-02"},{"cvss_score":9.1,"headline":"Spring Cloud Config vulnerable to Path Traversal","id":"CVE-2026-40982","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":8.6,"headline":"Spring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF Attacks","id":"CVE-2026-22739","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":7.5,"headline":"Spring Cloud Config has an Authorization Bypass Through User-Controlled Key","id":"CVE-2026-40981","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.2,"headline":"Spring Cloud Config Server Susceptible To TOCTOU Attack When Using SVN","id":"CVE-2026-47836","kev_date_added":null,"published":"2026-08-26"},{"cvss_score":6.8,"headline":"Spring Cloud Config Server Monitor Endpoint Does Not Validate Webhook Requests","id":"CVE-2026-47837","kev_date_added":null,"published":"2026-08-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-05-09","vendors":["Spring"]},"summary":"Attackers can exploit a race condition in the Git repository cloning process to potentially execute code or escalate privileges.","url":"https://insights.sbomify.com/CVE-2026-41002/"}