{"id":"GHSA-86wq-234q-r6wg","summary":"Spring Cloud Config Server Susceptible To TOCTOU Attack","details":"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.\n\n- Spring Cloud Config 3.0.x: affected from 3.0.0 through 3.0.7 (inclusive); no open-source upgrade available.\n- Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); no open-source upgrade available.\n- Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); no open-source upgrade available.\n- Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); no open-source upgrade available.\n- Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater.\n- Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater.","aliases":["CVE-2026-41002"],"modified":"2026-06-18T23:00:09.000585584Z","published":"2026-05-07T06:31:41Z","database_specific":{"github_reviewed_at":"2026-05-11T16:19:26Z","nvd_published_at":"2026-05-07T04:16:25Z","cwe_ids":["CWE-367"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41002"},{"type":"PACKAGE","url":"https://github.com/spring-cloud/spring-cloud-config"},{"type":"WEB","url":"https://spring.io/security/cve-2026-41002"}],"affected":[{"package":{"name":"org.springframework.cloud:spring-cloud-config-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"last_affected":"3.1.13"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-86wq-234q-r6wg/GHSA-86wq-234q-r6wg.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-config-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"last_affected":"4.1.9"}]}],"versions":["4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-86wq-234q-r6wg/GHSA-86wq-234q-r6wg.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-config-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"last_affected":"4.2.6"}]}],"versions":["4.2.0","4.2.1","4.2.2","4.2.3","4.2.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-86wq-234q-r6wg/GHSA-86wq-234q-r6wg.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-config-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"fixed":"4.3.3"}]}],"versions":["4.3.0","4.3.1","4.3.2"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.3.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-86wq-234q-r6wg/GHSA-86wq-234q-r6wg.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-config-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.0.3"}]}],"versions":["5.0.0","5.0.1","5.0.2"],"database_specific":{"last_known_affected_version_range":"\u003c= 5.0.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-86wq-234q-r6wg/GHSA-86wq-234q-r6wg.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-config-server","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-config-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"last_affected":"3.0.7"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-86wq-234q-r6wg/GHSA-86wq-234q-r6wg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N"}]}