{"id":"CVE-2026-40981","aliases":["GHSA-2mh5-3cw6-hrrq"],"url":"https://o3.security/vulnerability/CVE-2026-40981","summary":"Spring Cloud Config has an Authorization Bypass Through User-Controlled Key ","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.","published":"2026-05-07T03:55:43.600Z","modified":"2026-07-16T03:30:59.052094164Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework.cloud:spring-cloud-config-server","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.cloud:spring-cloud-config-server","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.cloud:spring-cloud-config-server","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.cloud:spring-cloud-config-server","fixedVersion":"4.3.3"},{"ecosystem":"Maven","name":"org.springframework.cloud:spring-cloud-config-server","fixedVersion":"5.0.3"}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-16T03:30:59.052094164Z"}}