Spring Cloud Config Clients Can Access Secrets From Any Project The Config Server Has Access To On Google Secrets Manager

HIGH | MAY 06, 2026 | CVE-2026-40981

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.

Affected Spring Products and Versions

Spring Cloud Config:

  • 5.0.0 - 5.0.2
  • 4.3.0 - 4.3.2
  • 4.2.0 - 4.2.6
  • 4.1.0 - 4.1.9
  • 3.1.13 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.0.3OSS
4.3.3OSS
4.2.7Enterprise Support Only
4.1.10Enterprise Support Only
3.1.14Enterprise Support Only

If you cannot upgrade to one of the above releases you can set spring.cloud.config.server.gcp-secret-manager.token-mandatory=true to require the client to send a valid token that is then verified to have access to the secrets in the requested project.

History

  • 2026-05-06: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all