Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 94%

CVE-2026-40977: CWE-59: Improper Link Resolution Before File Access in Spring Spring Boot

0
Medium
VulnerabilityCVE-2026-40977cvecve-2026-40977cwe-59
Published: Mon Apr 27 2026 (04/27/2026, 23:36:06 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: 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

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H

Affected software

Affected versions
=4.0.0=3.5.0=3.4.0=3.3.0=2.7.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/05/2026, 07:33:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses