CVE-2026-40977: Spring Boot · Improper Link Resolution Before File Access
Affects Spring BootSource CVE Database V5
Not known to be exploited · CVSS 4.7 Medium · fixed in 4.0.6 : update Spring Boot when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.6, 3.5.14, 3.4.16 +2
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Boot | Affected
| Fixed in
|
| SpringSpring Boot | Affected
| Fixed in
|
| SpringSpring Boot | Affected
| Fixed in
|
| SpringSpring Boot | Affected
| Fixed in
|
| SpringSpring Boot | Affected
| Fixed in
|
Mavenorg.springframework.boot/spring-bootpkg:maven/org.springframework.boot/spring-bootOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vendor advisory is not provided in the input, and remediationLevel is null. However, fixed versions are identified: 2.7.33, 3.3.19, 3.4.16, 3.5.14, and 4.0.6. Users should upgrade to these or later versions to mitigate the vulnerability. Until patched, restrict write access to the PID file location to trusted users only.
Description
CVE-2026-40977 is a medium severity vulnerability in Spring Boot affecting versions 2.7.0 through 4.0.5. It involves improper link resolution before file access in the ApplicationPidFileWriter component. A local attacker with write access to the PID file location can corrupt one file on the host each time the application starts. The vulnerability impacts the integrity of the host system but does not affect confidentiality or availability. Fixed versions include 2.7.