CVE-2026-40981
Spring 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
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.
- Record
CVE-2026-40981- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-639, CWE-1220
- Updated
- 2026-11-02
EUVDEUVD-2026-28245
7.5
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.
- Record
EUVD-2026-28245- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2mh5-3cw6-hrrq
7.5
Spring 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.
- Record
GHSA-2mh5-3cw6-hrrq- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-639
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2026-40981- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-639, CWE-1220
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2026-40981- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-639
- Updated
- 2026-11-02
OSVGHSA-2mh5-3cw6-hrrq
7.5
Spring 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.
- Record
GHSA-2mh5-3cw6-hrrq- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-639
- Updated
- 2026-11-02
OSVCLSA-2026-1793283637 No score
TuxCare security update for org.springframework.cloud:spring-cloud-config-server (7 CVEs)
TuxCare rebuilt org.springframework.cloud:spring-cloud-config-server to address 7 CVEs. Fixed in 4.2.4-tuxcare.1.
- Record
CLSA-2026-1793283637- Updated
- 2026-11-02
OSVCLSA-2026-1793794350 No score
TuxCare security update for org.springframework.cloud:spring-cloud-config-server (7 CVEs)
TuxCare rebuilt org.springframework.cloud:spring-cloud-config-server to address 7 CVEs. Fixed in 3.1.10-tuxcare.1.
- Record
CLSA-2026-1793794350- Updated
- 2026-11-04
OSVROOT-APP-MAVEN-CVE-2026-40981 No score
CVE-2026-40981 in org.springframework.cloud:spring-cloud-config-server - Patched by Root
Root has patched CVE-2026-40981 in the org.springframework.cloud:spring-cloud-config-server package for Root:Maven. Multiple fixed versions available.
- Record
ROOT-APP-MAVEN-CVE-2026-40981- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.springframework.cloud:spring-cloud-config-serverMaven |
3.1.0 to 3.1.13 | None known |
org.springframework.cloud:spring-cloud-config-serverMaven |
4.1.0 to 4.1.9 | None known |
org.springframework.cloud:spring-cloud-config-serverMaven |
4.2.0 to 4.2.6 | None known |
org.springframework.cloud:spring-cloud-config-serverMaven |
4.3.0 to 4.3.2 | 4.3.3 |
org.springframework.cloud:spring-cloud-config-serverMaven |
5.0.0 to 5.0.2 | 5.0.3 |
org.springframework.cloud:spring-cloud-config-serverTuxCare:Maven From an advisory covering 7 CVEs |
4.2.4 up to 4.2.4-tuxcare.1 | 4.2.4-tuxcare.1 |
org.springframework.cloud:spring-cloud-config-serverTuxCare:Maven From an advisory covering 7 CVEs |
3.1.10 up to 3.1.10-tuxcare.1 | 3.1.10-tuxcare.1 |
org.springframework.cloud:spring-cloud-config-serverMaven |
3.1.0 to 3.1.13, plus listed versions 3.1.13.1.103.1.23.1.33.1.4 Show 5 moreShow less3.1.53.1.63.1.73.1.83.1.9 |
None known |
org.springframework.cloud:spring-cloud-config-serverMaven |
4.1.0 to 4.1.9, plus listed versions 4.1.14.1.24.1.34.1.44.1.54.1.64.1.7 |
None known |
org.springframework.cloud:spring-cloud-config-serverMaven |
4.2.0 to 4.2.6, plus listed versions 4.2.14.2.24.2.34.2.4 |
None known |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
org.springframework.cloud:spring-cloud-config-serverMaven |
4.3.0 up to 4.3.3, plus listed versions 4.3.14.3.2 |
4.3.3 |
org.springframework.cloud:spring-cloud-config-serverMaven |
5.0.0 up to 5.0.3, plus listed versions 5.0.15.0.2 |
5.0.3 |
org.springframework.cloud:spring-cloud-config-serverRoot:Maven |
before 4.3.0-aikido.1 | 4.3.0-aikido.14.3.0-aikido.2 |
io.root.org.springframework.cloud:spring-cloud-config-serverRoot:Maven |
before 4.3.0-root.io.1 | 4.3.0-root.io.14.3.0-root.io.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases, facts | OSV | |
| affected | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-40981 is a high vulnerability (CVSS 7.5) in Spring Cloud Config, published May 7, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 38th percentile. Fixed in org.springframework.cloud:spring-cloud-config-server 4.3.3.
References
spring.io/security/cve-2026-40981
access.redhat.com/security/cve/CVE-2026-40981
bugzilla.redhat.com/show_bug.cgi?id=2467621
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40981.json
nvd.nist.gov/vuln/detail/CVE-2026-40981
github.com/advisories/GHSA-2mh5-3cw6-hrrq
github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40981.json
github.com/spring-cloud/spring-cloud-config