CVE-2026-40977: CWE-59: Improper Link Resolution Before File Access in Spring Spring Boot
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-40977) in Spring Boot arises from improper link resolution before file access in the ApplicationPidFileWriter feature. When configured, a local attacker with write permissions to the PID file directory can cause corruption of a file on the host system each time the Spring Boot application starts. Affected versions span multiple major releases from 2.7.0 to 4.0.5. The issue is tracked as CWE-59 (Improper Link Resolution Before File Access). The CVSS 3.1 score is 4.7 (medium), reflecting local attack vector, high attack complexity, and high privileges required, with impact limited to integrity and availability. Fixed versions are available but patch status is not explicitly stated in the input data.
Potential Impact
The vulnerability allows a local attacker with write access to the PID file location to corrupt one file on the host system upon application startup. This impacts the integrity and availability of the host system but does not compromise confidentiality. The attack requires high privileges and local access, limiting the scope of exploitation. There are no reports of known exploits in the wild.
Mitigation Recommendations
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. Patch status is not yet confirmed—check the official Spring vendor advisory for the latest remediation guidance. Until patched, restrict write access to the PID file location to trusted users only.
CVE-2026-40977: CWE-59: Improper Link Resolution Before File Access in Spring Spring Boot
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.
CVSS v3.1
Score 4.7medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-40977) in Spring Boot arises from improper link resolution before file access in the ApplicationPidFileWriter feature. When configured, a local attacker with write permissions to the PID file directory can cause corruption of a file on the host system each time the Spring Boot application starts. Affected versions span multiple major releases from 2.7.0 to 4.0.5. The issue is tracked as CWE-59 (Improper Link Resolution Before File Access). The CVSS 3.1 score is 4.7 (medium), reflecting local attack vector, high attack complexity, and high privileges required, with impact limited to integrity and availability. Fixed versions are available but patch status is not explicitly stated in the input data.
Potential Impact
The vulnerability allows a local attacker with write access to the PID file location to corrupt one file on the host system upon application startup. This impacts the integrity and availability of the host system but does not compromise confidentiality. The attack requires high privileges and local access, limiting the scope of exploitation. There are no reports of known exploits in the wild.
Mitigation Recommendations
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. Patch status is not yet confirmed—check the official Spring vendor advisory for the latest remediation guidance. Until patched, restrict write access to the PID file location to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:04.616Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f0134ecbff5d861057a5d4
Added to database: 4/28/2026, 1:54:22 AM
Last enriched: 5/5/2026, 7:33:41 AM
Last updated: 6/12/2026, 2:54:17 AM
Views: 110
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.