Intel

AIKIDO-2026-10581

spring-boot is vulnerable to Insecure Temporary File

Insecure Temporary FileCVE-2026-40977 Published Apr 27, 2026

60

Medium Risk

This Affects:

JAVAspring-boot
2.7.0 - 3.5.13
Fixed in 3.5.14
4.0.0 - 4.0.5
Fixed in 4.0.6
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to improper link resolution when writing PID files because ApplicationPidFileWriter may follow symlinks at a predictable file path. A local attacker with write access to the PID file location may cause arbitrary file corruption each time the application starts.

Who does this affect?

You are affected if using a vulnerable version.

Background info

spring-boot is vulnerable to Insecure Temporary File in versions 2.7.0 - 3.5.13 and 4.0.0 - 4.0.5.

How to fix this

Upgrade the org.springframework.boot:spring-boot library to the patch version.