CVE-2026-40977: spring spring boot Link Following
Vulnerability summary
CVE-2026-40977 is a medium (CVSS 6.7) Link Following vulnerability in spring spring boot. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.7% of scored vulnerabilities.
Timeline
- 27-04-2026PublishedVulnerability first disclosed.
- 28-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA4.7MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:HDiffers
- OSV · MavenEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:HDiffers
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
+0.04 pp
From 0.11% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Org.springframework.boot1 product
- spring-boot-cassandra≥ 4.0.0, < 4.0.6 | ≥ 3.5.0, < 3.5.14 | ≥ 3.4.0, ≤ 3.4.15 | ≥ 3.3.0, ≤ 3.3.18 | ≤ 2.7.32
Spring1 product
- spring boot≥ 4.0.0, < 4.0.6 | ≥ 3.5.0, < 3.5.14 | ≥ 3.4.0, < 3.4.16 | ≥ 3.3.0, < 3.3.19 | ≥ 2.7.0, < 2.7.33
Vmware1 product
- spring_boot< 2.7.33 | ≥ 3.3.0, < 3.3.19 | ≥ 3.4.0, < 3.4.16 | ≥ 3.5.0, < 3.5.14 | ≥ 4.0.0, < 4.0.6
3 vendors · 3 products