{"id":"CVE-2026-40981","details":"When using Google Secrets Manager as a backend for the Spring Cloud Config server a client can craft a request to the config server potentially exposing secrets from unintended GCP projects.\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.","aliases":["GHSA-2mh5-3cw6-hrrq"],"modified":"2026-07-15T01:49:22.360857752Z","published":"2026-05-07T03:55:43.600Z","database_specific":{"cwe_ids":["CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40981.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"3.1.0"},{"fixed":"3.1.14"},{"introduced":"4.1.0"},{"fixed":"4.1.10"},{"introduced":"4.2.0"},{"fixed":"4.2.7"},{"introduced":"4.3.0"},{"fixed":"4.3.3"},{"introduced":"5.0.0"},{"fixed":"5.0.3"}]},{"source":"DESCRIPTION","extracted_events":[{"introduced":"3.1.0"},{"fixed":"3.1.13"},{"introduced":"4.1.0"},{"fixed":"4.1.9"},{"introduced":"4.2.0"},{"fixed":"4.2.6"},{"introduced":"4.3.0"},{"fixed":"4.3.2"},{"introduced":"5.0.0"},{"fixed":"5.0.2"}]}],"cna_assigner":"vmware"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40981.json"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40981"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-40981"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40981.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40981"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467621"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-cloud/spring-cloud-config","events":[{"introduced":"e4bfee4a1fae95d72da686246d26a8fbf4404852"},{"fixed":"5b443c202231c77ace754b0f54956c408c2f0288"},{"introduced":"1f589b654aba88db9e2061509e55ee120c1712e4"},{"fixed":"6259ed8ed5fc2ee81dedc03487b2487d8afeb9ab"}],"database_specific":{"cpe":"cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.3.0"},{"fixed":"4.3.3"},{"introduced":"5.0.0"},{"fixed":"5.0.3"}],"source":"CPE_RANGE"}}],"versions":["v5.0.2","v4.3.2","v5.0.1","v4.3.1","v5.0.0","v4.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40981.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}