Spring Boot Actuator writes heap dump to world-readable shared temp directory

MEDIUM | NOVEMBER 19, 2026 | CVE-2026-59409

Description

When running on a HotSpot JVM, calling the Actuator's heapdump endpoint causes it to write the JVM's heap to a temporary file that can be read by other users.

Affected Spring Products and Versions

Spring Boot:

  • 4.1.0 - 4.1.2
  • 4.0.0 - 4.0.9
  • 3.5.0 - 3.5.17
  • 3.0.0 - 3.4.18
  • 2.7.35 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
4.1.2.1Enterprise Support Only
4.1.3OSS
4.0.9.1Enterprise Support Only
4.0.10OSS
3.5.18Enterprise Support Only
3.4.19Enterprise Support Only
2.7.36Enterprise Support Only

Applications that cannot upgrade immediately can work around this issue by configuring the JVM with a temp directory that is only accessible to the current user.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

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

Learn more

Get support

TrueSource Spring Enterprise 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