CVE-2026-40981
published high CVSS 3.1 · 7.5Spring Cloud Config: Information disclosure of secrets from unintended GCP projects
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Cloud Config3.1.0 to < 3.1.14 · 4.1.0 to < 4.1.10 · 4.2.0 to < 4.2.7 · 4.3.0 to < 4.3.3 · 5.0.0 to < 5.0.3 · Other versions: unaffected | Affected | Not stated | vmware |
| Red Hat Enterprise Linux | 8 | log4j:2/log4j | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-cloud-config-serverRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
Description
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.
A flaw was found in Spring Cloud Config. When utilizing Google Secrets Manager as a backend, a remote client can craft a specific request to the config server. This action may lead to the unintended exposure of secrets from other Google Cloud Platform (GCP) projects, resulting in sensitive information disclosure.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Cloud Config | 3.1.0 to < 3.1.14 (affected · custom)4.1.0 to < 4.1.10 (affected · custom)4.2.0 to < 4.2.7 (affected · custom)4.3.0 to < 4.3.3 (affected · custom)5.0.0 to < 5.0.3 (affected · custom)Default: unaffected | vmware · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
- CWE-1220 Insufficient Granularity of Access Control
References
4- https://access.redhat.com/security/cve/CVE-2026-40981
- RHBZ#2467621 https://bugzilla.redhat.com/show_bug.cgi?id=2467621
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40981.json
- https://spring.io/security/cve-2026-40981
Provider assertions
3vmware · cna
redhat-SADP · adp
Spring Cloud Config: Spring Cloud Config: Information disclosure of secrets from unintended GCP projects
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f10fe313d3669e72327559330594e27bca6a684b00efbd50f1a208322ce78067
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record