VDB

CVE-2026-40981

CVE-2026-40981 PUBLISHED CVSS 7.5 HIGH

Spring Cloud Config has an Authorization Bypass Through User-Controlled Key

Reported by vmware · Published May 7, 2026

spring-cloud-config-server is fixed in 5.0.3, 4.3.3, 4.2.6 and 2 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.cloud:spring-cloud-config-serverMaven Central5.0.3, 4.3.3, 4.2.6, 4.1.9, 3.1.13
org.springframework.cloud:spring-cloud-configMaven Central5.0.3, 4.3.3, 4.2.6, 4.1.9, 3.1.13
spring_cloud_configvmware5.0.3, 4.3.3, 4.2.7, 4.1.10, 3.1.14
Spring Cloud ConfigSpring5.0.3, 4.3.3, 4.2.7, 4.1.10, 3.1.14

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
SpringSpring Cloud Config3.1.0, 4.1.0, 4.2.0
Red HatRed Hat Enterprise Linux 8
Mavenorg.springframework.cloud:spring-cloud-config-server5.0.0, 3.1.0, 4.3.0
Red HatRed Hat JBoss Enterprise Application Platform Expansion Pack
Red HatRed Hat JBoss Enterprise Application Platform Expansion Pack
Mavenorg.springframework.cloud:spring-cloud-config5.0.0, 3.1.0, 4.1.0
SpringSpring Cloud Config5.0.0, 4.3.0, 4.2.0
Red HatRed Hat Enterprise Linux 8

Timeline

  • May 6, 2026 CVE Published
  • May 7, 2026 PoC Published
  • May 11, 2026 CVE Updated
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 1, 2026 Security Advisory
  • Aug 6, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40981
vulnetix vdb fixes CVE-2026-40981

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40981/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›