CVE-2026-40981
HIGH 7.5CVSS 3.1Spring Cloud Config has an Authorization Bypass Through User-Controlled Key
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.
Spring 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
- 7 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-1220CWE-639
- Also known as
- GHSA-2mh5-3cw6-hrrq
- Sources
- NVDJSONOSV GHSA-2mh5-3cw6-hrrqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_cloud_configcpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.14 | 3.1.14 |
| NVD | vmware | spring_cloud_configcpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.10 | 4.1.10 |
| NVD | vmware | spring_cloud_configcpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.7 | 4.2.7 |
| NVD | vmware | spring_cloud_configcpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* |
>= 4.3.0, < 4.3.3 | 4.3.3 |
| NVD | vmware | spring_cloud_configcpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.3 | 5.0.3 |
| OSV | Maven | org.springframework.cloud:spring-cloud-config-server | >= 3.1.0, <= 3.1.13 | |
| OSV | Maven | org.springframework.cloud:spring-cloud-config-server | >= 4.1.0, <= 4.1.9 | |
| OSV | Maven | org.springframework.cloud:spring-cloud-config-server | >= 4.2.0, <= 4.2.6 | |
| OSV | Maven | org.springframework.cloud:spring-cloud-config-server | >= 4.3.0, < 4.3.3 | 4.3.3 |
| OSV | Maven | org.springframework.cloud:spring-cloud-config-server | >= 5.0.0, < 5.0.3 | 5.0.3 |
References
- https://spring.io/security/cve-2026-40981 · Vendor Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2026-40981
- https://bugzilla.redhat.com/show_bug.cgi?id=2467621
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40981.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-40981 · ADVISORY
- https://github.com/spring-cloud/spring-cloud-config · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 May 2026)