Insecure Temporary File Affecting org.springframework.boot:spring-boot-actuator package, versions [,4.0.10)[4.1.0,4.1.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-22729051
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • credith1ei1

Introduced: 19 Nov 2026

NewCVE-2026-59409  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade org.springframework.boot:spring-boot-actuator to version 4.0.10, 4.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Temporary File in the createTempFile() method of HeapDumpWebEndpoint, which writes the JVM heap dump using File.createTempFile into the shared system temporary directory with world-readable permissions. A local user can read another user's heap dump, disclosing its contents, by reading the .hprof file before it is consumed and deleted. This applies when the heapdump Actuator endpoint is invoked on a HotSpot JVM.

Workaround

This vulnerability can be avoided by setting the JVM temporary directory (-Djava.io.tmpdir) to a location readable only by the application's own user.

CVSS Base Scores

version 4.0
version 3.1