CVE-2026-40977: Medium severity VMware Spring Boot vulnerability
When an application is configured to use ApplicationPidFileWriter, a local attacker with write access to the PID file's location can corrupt one file on the host each time the application is started.
Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); PID file / symlink behavior (ApplicationPidFileWriter). Versions that are no longer supported are also affected per vendor advisory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Spring Bootto a version that resolves this vulnerability.Fixed in 4.0.6 - Upgrade
Upgrade
Spring Bootto a version that resolves this vulnerability.Fixed in 3.5.14 - Upgrade
Upgrade
Spring Bootto a version that resolves this vulnerability.Fixed in 3.4.16 - Upgrade
Upgrade
Spring Bootto a version that resolves this vulnerability.Fixed in 3.3.19 - Upgrade
Upgrade
Spring Bootto a version that resolves this vulnerability.Fixed in 2.7.33
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40977?
CVE-2026-40977 is classified as a high severity vulnerability due to the potential for local attackers to corrupt files on the host system.
How do I fix CVE-2026-40977?
To fix CVE-2026-40977, upgrade your Spring Boot application to version 4.0.6, 3.5.14, or 3.4.16 or later.
Who is affected by CVE-2026-40977?
CVE-2026-40977 affects users of VMware Spring Boot versions 4.0.0 through 4.0.5, 3.5.0 through 3.5.13, and 3.4.0 through 3.4.15.
What can an attacker do exploiting CVE-2026-40977?
An attacker exploiting CVE-2026-40977 can corrupt a file on the host each time the application using ApplicationPidFileWriter is started.
How can I determine if I'm vulnerable to CVE-2026-40977?
You can determine your vulnerability to CVE-2026-40977 by checking if your Spring Boot application is running on the affected versions listed.