{"answers":{"affected":"10 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-40982 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-40982 is a critical path traversal vulnerability in Spring Cloud Config, published on 7 May 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-40982 and fix it if it is affected.\n\nWhat it is: CVE-2026-40982 is a critical path traversal vulnerability in Spring Cloud Config, published on 7 May 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-40982 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected all versions up to 3.1.13; no fix listed\n- org.springframework.cloud:spring-cloud-config-server (Maven): affected all versions 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-40982/ (Markdown: https://insights.sbomify.com/CVE-2026-40982/index.md)","id":"CVE-2026-40982","markdown":"https://insights.sbomify.com/CVE-2026-40982/index.md","name":"CVE-2026-40982","record":{"aliases":["GHSA-6g23-24mc-hx6x","ROOT-APP-MAVEN-CVE-2026-40982"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Cloud Config","requires_auth":"none","summary":"Attackers can read arbitrary files via directory traversal in Spring Cloud Config, requiring an upgrade to secure the server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_cloud_config","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-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack.\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":"2026-08-05","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-05T17:39:23Z","kind":"github_poc","ref":"https://github.com/xiaoqiMikko/scc-check","stars":0,"title":"Offline checker for Spring Cloud Config CVE-2026-40982 — tells you whether your version line has an OSS fix at all (3.1.x/4.1.x/4.2.x: it does not)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Spring Cloud Config vulnerable to Path Traversal","id":"CVE-2026-40982","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":10,"n_references":1,"next":{"headline":"Micrometer gRPC server instrumentation DoS vulnerability","id":"CVE-2026-40983"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.1.13"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-6g23-24mc-hx6x"},{"ecosystem":"Maven","fixed":[],"introduced":["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-6g23-24mc-hx6x"},{"ecosystem":"Maven","fixed":[],"introduced":["4.1.0"],"last_affected":["4.1.9"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-6g23-24mc-hx6x"},{"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-6g23-24mc-hx6x"},{"ecosystem":"Maven","fixed":[],"introduced":["4.2.0"],"last_affected":["4.2.6"],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-6g23-24mc-hx6x"},{"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-6g23-24mc-hx6x"},{"ecosystem":"Maven","fixed":["4.3.3"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-6g23-24mc-hx6x"},{"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-6g23-24mc-hx6x"},{"ecosystem":"Maven","fixed":["5.0.3"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-config-server","purl":null,"source":"GHSA-6g23-24mc-hx6x"},{"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-6g23-24mc-hx6x"}],"prev":{"headline":"Spring Cloud Config has an Authorization Bypass Through User-Controlled Key","id":"CVE-2026-40981"},"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":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.4,"headline":"Spring Cloud Config Server Susceptible To TOCTOU Attack","id":"CVE-2026-41002","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)"},{"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 read arbitrary files via directory traversal in Spring Cloud Config, requiring an upgrade to secure the server.","url":"https://insights.sbomify.com/CVE-2026-40982/"}