CVE-2026-40977 Spring Boot's PID file write follows symlinks at predictable default path
MediumCVSS 6.7
EPSS 0.11%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.boot/spring-boot-cassandra(Maven) | >= 4.0.0, < 4.0.6 | 4.0.6 |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.0 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.1 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.2 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.3 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.4 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | = 4.0.5 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | >= 3.5.0, < 3.5.14 | 3.5.14 |
| org.springframework.boot/spring-boot-cassandra(Maven) | >= 3.4.0, <= 3.4.15 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | >= 3.3.0, <= 3.3.18 | No fix listed |
| org.springframework.boot/spring-boot-cassandra(Maven) | <= 2.7.32 | No fix listed |
| Spring Boot | >= 4.0.0, < 4.0.6 | 4.0.6 |
| Spring Boot | >= 3.5.0, < 3.5.14 | 3.5.14 |
| Spring Boot | >= 3.4.0, < 3.4.16 | 3.4.16 |
| Spring Boot | >= 3.3.0, < 3.3.19 | 3.3.19 |
| Spring Boot | >= 2.7.0, < 2.7.33 | 2.7.33 |
| redhat/spring-boot(Red Hat:amq_broker:7) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:amq_clients:2023) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:apache_camel_hawtio:4) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:optaplanner:::el6) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:jboss_data_grid:8) | All versions | No fix listed |
| redhat/log4j:2/log4j(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/log4j(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/spring-boot(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:jbosseapxp) | All versions | No fix listed |
| redhat/devspaces/openvsx-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/devspaces/pluginregistry-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:jboss_bpms:7) | All versions | No fix listed |
| redhat/spring-boot(Red Hat:red_hat_single_sign_on:7) | All versions | No fix listed |
| VMware spring boot | < 2.7.33 | 2.7.33 |
| VMware spring boot | >= 3.3.0, < 3.3.19 | 3.3.19 |
| VMware spring boot | >= 3.4.0, < 3.4.16 | 3.4.16 |
| VMware spring boot | >= 3.5.0, < 3.5.14 | 3.5.14 |
| VMware spring boot | >= 4.0.0, < 4.0.6 | 4.0.6 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- spring.io vendor-advisory
- github.com
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2463329 issue-tracking
- www.cve.org