Skip to content
Fencer Vulns
high 7.5

CVE-2026-40981 json

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

published 2026-05-07 6 mo ago modified 2026-10-26 13 d ago also GHSA-2mh5-3cw6-hrrq , EUVD-2026-28245

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 38%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.springframework.cloud:spring-cloud-config-server 4.3.3, 5.0.3
  • Spring Spring Cloud Config 3.1.14, 4.1.10, 4.2.7, 4.3.3, 5.0.3

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40981 updated cvss 7.5

Spring Cloud Config: Spring Cloud Config: Information disclosure of secrets from unintended GCP projects

  • Red Hat Enterprise Linux 8 log4j, log4j-jcl, log4j-web, log4j-slf4j
    not affected: vulnerable code not present
  • Red Hat JBoss Enterprise Application Platform Expansion Pack spring-cloud-config-server
    not affected: component not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

0.43% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.springframework.cloud:spring-cloud-config-server
>=3.1.0, <=3.1.13
>=4.1.0, <=4.1.9
>=4.2.0, <=4.2.6
>=4.3.0, <4.3.3
>=5.0.0, <5.0.3
4.3.3
5.0.3

Affected products

  • Spring Spring Cloud Config
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack

Classification

Weakness
  • CWE-639 Authorization Bypass Through User-Controlled Key
  • CWE-1220 Insufficient Granularity of Access Control
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.