CVE-2026-40981: CWE-639: Authorization Bypass Through User-Controlled Key in Spring Spring Cloud Config
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-40981) involves an authorization bypass through a user-controlled key in Spring Cloud Config when configured to use Google Secrets Manager as the backend. An attacker can craft requests to the config server that potentially expose secrets belonging to unintended GCP projects. Affected versions include Spring Cloud Config 3.1.0 through 3.1.13, 4.1.0 through 4.1.9, 4.2.0 through 4.2.6, 4.3.0 through 4.3.2, and 5.0.0 through 5.0.2. Fixed versions start from 3.1.14, 4.1.10, 4.2.7, 4.3.3, and 5.0.3 respectively. The CVSS 3.1 base score is 7.5 (High), with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N indicating network attack vector, low complexity, no privileges or user interaction required, unchanged scope, high confidentiality impact, and no integrity or availability impact. The vendor advisory from Red Hat confirms the vulnerability and the availability of patches. The service is cloud-hosted, so vendor-managed remediation is typical.
Potential Impact
Successful exploitation allows an unauthenticated attacker to bypass authorization controls and access sensitive secrets from unintended Google Cloud Platform projects via the Spring Cloud Config server. This results in a high confidentiality impact, potentially exposing critical credentials or configuration data. There is no impact on integrity or availability. The vulnerability affects multiple Spring Cloud Config versions across several major releases.
Mitigation Recommendations
Patches are available and should be applied to upgrade affected Spring Cloud Config versions to the fixed releases: 3.1.14 or later (Enterprise Support Only), 4.1.10 or later (Enterprise Support Only), 4.2.7 or later (Enterprise Support Only), 4.3.3 or later, and 5.0.3 or later. Since this is a cloud-hosted service, the vendor typically manages remediation server-side. Users should consult the vendor advisory (https://access.redhat.com/security/cve/CVE-2026-40981) for detailed patching instructions and confirm that their environment is updated accordingly.
CVE-2026-40981: CWE-639: Authorization Bypass Through User-Controlled Key in Spring Spring Cloud Config
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:maven/org.springframework.cloud/spring-cloud-configRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-40981) involves an authorization bypass through a user-controlled key in Spring Cloud Config when configured to use Google Secrets Manager as the backend. An attacker can craft requests to the config server that potentially expose secrets belonging to unintended GCP projects. Affected versions include Spring Cloud Config 3.1.0 through 3.1.13, 4.1.0 through 4.1.9, 4.2.0 through 4.2.6, 4.3.0 through 4.3.2, and 5.0.0 through 5.0.2. Fixed versions start from 3.1.14, 4.1.10, 4.2.7, 4.3.3, and 5.0.3 respectively. The CVSS 3.1 base score is 7.5 (High), with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N indicating network attack vector, low complexity, no privileges or user interaction required, unchanged scope, high confidentiality impact, and no integrity or availability impact. The vendor advisory from Red Hat confirms the vulnerability and the availability of patches. The service is cloud-hosted, so vendor-managed remediation is typical.
Potential Impact
Successful exploitation allows an unauthenticated attacker to bypass authorization controls and access sensitive secrets from unintended Google Cloud Platform projects via the Spring Cloud Config server. This results in a high confidentiality impact, potentially exposing critical credentials or configuration data. There is no impact on integrity or availability. The vulnerability affects multiple Spring Cloud Config versions across several major releases.
Mitigation Recommendations
Patches are available and should be applied to upgrade affected Spring Cloud Config versions to the fixed releases: 3.1.14 or later (Enterprise Support Only), 4.1.10 or later (Enterprise Support Only), 4.2.7 or later (Enterprise Support Only), 4.3.3 or later, and 5.0.3 or later. Since this is a cloud-hosted service, the vendor typically manages remediation server-side. Users should consult the vendor advisory (https://access.redhat.com/security/cve/CVE-2026-40981) for detailed patching instructions and confirm that their environment is updated accordingly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:04.616Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-40981","vendor":"Red Hat"}]
Threat ID: 69fc1390cbff5d86107325ff
Added to database: 05/07/2026, 04:22:40 UTC
Last enriched: 07/15/2026, 09:13:21 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 75
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.