CVE-2026-40981
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by vmware
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-2mh5-3cw6-hrrq

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.

Affected

Product or packageVersionsReported by
Spring Spring Cloud Configfrom 3.1.0 before 3.1.14, from 4.1.0 before 4.1.10, from 4.2.0 before 4.2.7, from 4.3.0 before 4.3.3, from 5.0.0 before 5.0.3CVE List
log4j:2/log4jNot specifiedCVE List
spring-cloud-config-serverNot specifiedCVE List
org.springframework.cloud:spring-cloud-config-server (Maven)from 3.1.0 up to 3.1.13, from 4.1.0 up to 4.1.9, from 4.2.0 up to 4.2.6, from 4.3.0 before 4.3.3, from 5.0.0 before 5.0.3GitHub Advisory Database
vmware spring_cloud_configfrom 3.1.0 before 3.1.14, from 4.1.0 before 4.1.10, from 4.2.0 before 4.2.7, from 4.3.0 before 4.3.3, from 5.0.0 before 5.0.3NVD

All scores

vmware7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-639CWE-1220

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Al usar Google Secrets Manager como backend para el servidor de Spring Cloud Config, un cliente puede elaborar una solicitud al servidor de configuración, exponiendo potencialmente secretos de proyectos de GCP no deseados. Spring Cloud Config 3.1.x: afectado desde 3.1.0 hasta 3.1.13 (inclusive); actualizar a 3.1.14 o superior (Solo Soporte Empresarial). Spring Cloud Config 4.1.x: afectado desde 4.1.0 hasta 4.1.9 (inclusive); actualizar a 4.1.10 o superior (Solo Soporte Empresarial). Spring Cloud Config 4.2.x: afectado desde 4.2.0 hasta 4.2.6 (inclusive); actualizar a 4.2.7 o superior (Solo Soporte Empresarial). Spring Cloud Config 4.3.x: afectado desde 4.3.0 hasta 4.3.2 (inclusive); actualizar a 4.3.3 o superior. Spring Cloud Config 5.0.x: afectado desde 5.0.0 hasta 5.0.2 (inclusive); actualizar a 5.0.3 o superior.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40981 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-2mh5-3cw6-hrrq changed 2026-06-11CC-BY-4.0
NVDCVE-2026-40981 changed 2026-10-26Public domain