Skip to main content

Spring Cloud Config CVE-2026-40981

| EUVDEUVD-2026-28245 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-05-07 vmware GHSA-2mh5-3cw6-hrrq
7.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Config server
  2. Delivery
    Craft request with manipulated GCP project ID
  3. Exploit
    Bypass authorization via CWE-639 flaw
  4. Execution
    Retrieve secrets from unintended project
  5. Impact
    Extract credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

This vulnerability requires the Spring Cloud Config server to be configured with Google Secrets Manager as the secrets backend - deployments using alternative backends (Vault, AWS Secrets Manager, Git repositories, local filesystems) are not affected. The Config server must be network-accessible to the attacker (AV:N), but no authentication, user interaction, or privileged access is required (PR:N/UI:N). The underlying GCP service account used by the Config server must have IAM permissions spanning multiple projects for cross-project secret exposure to occur; single-project deployments limit exposure to that project's secrets only. Default Spring Cloud Config installations with Google Secrets Manager integration are vulnerable; no special feature flags or non-default configuration needed. Attack success depends on the attacker's ability to predict or enumerate valid GCP project IDs and secret names, which may be feasible through organizational naming conventions or publicly available infrastructure metadata.

Impact

This represents a HIGH-priority remediation for organizations using Spring Cloud Config with Google Secrets Manager backend. The CVSS 7.5 score accurately reflects the real-world risk - the network attack vector with zero authentication (AV:N/PR:N) means any network-accessible Config server is exploitable, while low attack complexity (AC:L) indicates straightforward exploitation without timing windows or race conditions. The high confidentiality impact (C:H) is especially concerning in cloud environments where multi-tenant GCP projects may contain sensitive credentials for production databases, API keys, or infrastructure secrets. The authorization bypass (CWE-639) suggests attackers can systematically enumerate secrets across GCP projects if they can predict or discover project IDs. While no CISA KEV listing or public POC exists yet, the authentication bypass nature and clear VMware disclosure (spring.io advisory published) means exploit development is straightforward once proof-of-concept details emerge. Organizations face genuine cross-tenant data exposure risk if multiple applications or environments share the same Config server instance. The scope unchanged (S:U) limits impact to the Config server's GCP permissions, but those permissions typically span multiple projects in enterprise deployments. Missing EPSS data prevents quantitative exploitation probability assessment, but the low barrier to exploitation (no auth, network accessible, low complexity) suggests medium-to-high probability once vulnerability details circulate.

Exploit ScenarioDerived

An external attacker identifies a Spring Cloud Config server exposed on the internet (common in microservices architectures) through port scanning or reconnaissance of known Spring Boot endpoints. By analyzing legitimate configuration requests or through trial-and-error, they craft HTTP requests with manipulated GCP project identifiers or secret paths that bypass authorization checks. The Config server, trusting the attacker-controlled input due to CWE-639 authorization bypass, queries Google Secrets Manager for secrets from GCP projects outside the intended scope, returning credentials for production databases, third-party API keys, or infrastructure service accounts. The attacker extracts these secrets without authentication or triggering application-level audit logs, then pivots to compromise the actual services using the stolen credentials.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Remote unauthenticated attackers can access Google Secrets Manager credentials from unintended GCP projects via crafted requests to Spring Cloud Config servers using Google Secrets Manager as a backend. VMware confirmed this high-severity information disclosure vulnerability (CVSS 7.5) affecting all 3.1.x through 5.0.x versions. No CISA KEV listing or public exploit code identified at time of analysis, but the network-accessible attack vector with no authentication or user interaction required (AV:N/AC:L/PR:N/UI:N) indicates straightforward exploitation once attackers identify vulnerable Spring Cloud Config deployments with Google Secrets Manager integration.

RemediationAI

Upgrade to patched versions immediately: Spring Cloud Config 3.1.14 or greater (enterprise support only), 4.1.10 or greater (enterprise support only), 4.2.7 or greater (enterprise support only), 4.3.3 or greater, or 5.0.3 or greater. Organizations on enterprise-only branches (3.1.x, 4.1.x, 4.2.x) should contact VMware support for patch access. If immediate patching is not feasible, implement network-level access controls to restrict Config server exposure to only trusted application networks (not public internet), though this reduces but does not eliminate risk from insider threats or lateral movement scenarios. Apply GCP project-level IAM policies to limit the Config server's service account permissions to only explicitly required projects as defense-in-depth, recognizing this mitigates impact but does not fix the authorization bypass. Review Config server access logs for suspicious request patterns targeting unusual project IDs or secret paths prior to applying patches. Full remediation guidance available at https://spring.io/security/cve-2026-40981. Note that network restriction workarounds may conflict with microservices architectures requiring dynamic Config server discovery.

Affected VersionsENISA

Spring Cloud Config 5.0.0 <5.0.3
Spring Cloud Config 4.2.0 <4.2.7
Spring Cloud Config 4.3.0 <4.3.3
Spring Cloud Config 3.1.0 <3.1.14
Spring Cloud Config 4.1.0 <4.1.10

Affected Packages

maven org.springframework.cloud:spring-cloud-config fix: 4.3.3, 5.0.3
maven org.springframework.cloud:spring-cloud-config-server fix: 4.3.3, 5.0.3
euvd spring_cloud_config fix: 3.1.14, 4.1.10, 4.2.7, 4.3.3, 5.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Cloud Config is a centralized configuration management server for distributed applications in Spring Boot ecosystems. When configured to use Google Secrets Manager as a secrets backend, the application retrieves credentials from GCP projects via API calls. CWE-639 (Authorization Bypass Through User-Controlled Key) indicates the vulnerability stems from insufficient validation of user-supplied input that determines which GCP project is queried. The CVSS vector shows complete confidentiality impact (C:H) with no authentication required (PR:N), meaning attackers can manipulate project identifiers or secret paths in HTTP requests to traverse across GCP project boundaries. The affected CPE identifies Spring Cloud Config across all major version branches from 3.1.0 onwards, suggesting this is a long-standing architectural issue in the Google Secrets Manager integration code rather than a recent regression.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Red Hat 7.5 HIGH

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
May 07, 2026 - 06:16 EUVD
CVE Published
May 07, 2026 - 03:55 nvd
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Spring Cloud Config versions 3.1.x through 5.0.x contain a critical information disclosure vulnerability (CVE-2026-40981, CVSS 7.5) that allows unauthenticated remote attackers to extract Google Secrets Manager credentials across unintended GCP projects through crafted requests. Organizations using Spring Cloud Config with Google Secrets Manager backends face immediate risk of credential compromise and lateral movement within their cloud infrastructure, with no vendor patch currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce network-level authentication via reverse proxy or API gateway; implement IP-based access controls restricting Spring Cloud Config endpoints to known internal networks only; disable or restrict Spring Cloud Config's Google Secrets Manager backend until patched; rotate all exposed GCP service account credentials and implement credential monitoring; enable GCP VPC Service Controls to isolate secret access by project; monitor GCP Cloud Audit Logs for unauthorized Secrets Manager API calls.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2026-59415 CRITICAL
10.0 Nov 24

Document ID injection in Spring AI's TypesenseVectorStore delete path lets a remote unauthenticated caller who controls

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy