Spring Cloud Config Server Susceptible To TOCTOU Attack

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

Description

The base directory (spring.cloud.config.server.git.basedir) used by the Spring Cloud Config Server to clone Git repositories to is susceptible to time-of-check-time-of-use (TOCTOU) attacks.

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

No further mitigation steps are necessary.

Credit

The issue was identified and responsibly reported by Yu Bao who works for PayPal.com (@August829).

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