The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40977

CVE-2026-40977: VMware Spring Boot Privilege Escalation

CVE-2026-40977 is a privilege escalation vulnerability in VMware Spring Boot affecting ApplicationPidFileWriter. Local attackers can corrupt files on the host. This article covers technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-40977 Overview

A symlink attack vulnerability has been identified in VMware Spring Boot's ApplicationPidFileWriter component. When an application is configured to use ApplicationPidFileWriter, a local attacker with write access to the PID file's location can exploit improper symlink handling to corrupt one file on the host each time the application is started.

This vulnerability (CWE-59: Improper Link Resolution Before File Access) allows attackers to leverage symbolic links to redirect file write operations, potentially corrupting critical system or application files during the application startup process.

Critical Impact

Local attackers can repeatedly corrupt arbitrary files on the host system by exploiting the PID file write mechanism, potentially leading to denial of service or compromising system integrity.

Affected Products

  • VMware Spring Boot 4.0.0–4.0.5 (fix available in 4.0.6)
  • VMware Spring Boot 3.5.0–3.5.13 (fix available in 3.5.14)
  • VMware Spring Boot 3.4.0–3.4.15 (fix available in 3.4.16)
  • VMware Spring Boot 3.3.0–3.3.18 (fix available in 3.3.19)
  • VMware Spring Boot 2.7.0–2.7.32 (fix available in 2.7.33)

Discovery Timeline

  • 2026-04-28 - CVE CVE-2026-40977 published to NVD
  • 2026-04-30 - Last updated in NVD database

Technical Details for CVE-2026-40977

Vulnerability Analysis

The vulnerability exists in the ApplicationPidFileWriter component of Spring Boot, which is responsible for writing the application's process ID (PID) to a file during startup. This feature is commonly used for process management, allowing external tools to monitor or control the running application.

The core issue stems from improper handling of symbolic links (symlinks) when the PID file is written. When an attacker with write access to the directory containing the PID file creates a symlink pointing to a target file, the Spring Boot application follows the symlink and writes the PID content to the target file instead, effectively corrupting it.

This attack can be performed repeatedly—each time the application restarts, the attacker can corrupt a different file by updating the symlink target. The impact ranges from application crashes to potential system-wide instability depending on which files are targeted.

Root Cause

The root cause is a classic CWE-59 (Improper Link Resolution Before File Access) vulnerability. The ApplicationPidFileWriter component does not properly validate whether the destination path is a symbolic link before performing write operations. This allows the file write to be redirected to an arbitrary location within the attacker's reachable file system scope.

The absence of symlink detection and safe file creation practices (such as using O_NOFOLLOW flags or explicitly checking for symlinks before writing) enables this attack vector.

Attack Vector

The attack requires local access to the system with write permissions to the directory where the PID file is created. The attack sequence proceeds as follows:

  1. The attacker identifies the location where the Spring Boot application writes its PID file
  2. The attacker creates a symbolic link at the PID file location pointing to a target file they wish to corrupt
  3. When the application starts, ApplicationPidFileWriter follows the symlink and writes PID data to the target file
  4. The target file is corrupted with the PID content
  5. The attacker can repeat this process with different target files on each application restart

The attack leverages the local access vector with high privileges required, but once positioned, the attacker can systematically corrupt files with high impact on confidentiality, integrity, and availability of the system.

Detection Methods for CVE-2026-40977

Indicators of Compromise

  • Unexpected symbolic links appearing in directories where Spring Boot applications write PID files
  • Unexplained corruption of configuration files, logs, or other system files coinciding with application restarts
  • File modification timestamps on critical files matching Spring Boot application startup times
  • Presence of numeric content (PID values) in files that should contain different data

Detection Strategies

  • Monitor PID file directories for symlink creation using file integrity monitoring tools
  • Implement auditd rules to track symlink creation in application directories: auditctl -w /path/to/pid/directory -p wa -k springboot_pid_monitor
  • Use SentinelOne's behavioral detection to identify suspicious symlink manipulation patterns
  • Review application logs for unusual file access patterns during startup sequences

Monitoring Recommendations

  • Enable file system auditing on directories containing PID files for Spring Boot applications
  • Configure alerts for symlink creation events in monitored directories
  • Implement regular integrity checks on critical system and application files
  • Use SentinelOne Singularity platform to monitor for TOCTOU (Time-of-Check Time-of-Use) attack patterns associated with symlink exploitation

How to Mitigate CVE-2026-40977

Immediate Actions Required

  • Upgrade affected Spring Boot applications to the patched versions: 4.0.6, 3.5.14, 3.4.16, 3.3.19, or 2.7.33
  • Restrict write permissions on directories where PID files are written to only the application user
  • Audit existing PID file locations for the presence of symbolic links
  • Consider disabling ApplicationPidFileWriter if it is not required for your deployment

Patch Information

VMware has released security patches addressing this vulnerability across all supported Spring Boot versions. The fixed versions implement proper symlink detection and safe file handling practices in the ApplicationPidFileWriter component.

BranchVulnerable VersionsFixed Version
4.0.x4.0.0–4.0.54.0.6
3.5.x3.5.0–3.5.133.5.14
3.4.x3.4.0–3.4.153.4.16
3.3.x3.3.0–3.3.183.3.19
2.7.x2.7.0–2.7.322.7.33

For complete details, refer to the Spring Security Advisory for CVE-2026-40977.

Workarounds

  • Remove or disable ApplicationPidFileWriter from application configuration if PID file functionality is not required
  • Configure the PID file to be written to a directory with restricted write access (e.g., only accessible by root or the application service account)
  • Implement a dedicated directory for PID files with appropriate mount options (e.g., nosuid, noexec)
  • Use containerized deployments where file system access is isolated and controlled
bash
# Configuration example - Restrict PID file directory permissions
# Create a dedicated directory for PID files with restricted access
mkdir -p /var/run/springboot
chown springboot-user:springboot-group /var/run/springboot
chmod 700 /var/run/springboot

# Optionally, mount with restrictive options
# mount -o nosuid,noexec,nodev -t tmpfs tmpfs /var/run/springboot

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechVmware Spring Boot

  • SeverityMEDIUM

  • CVSS Score6.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-59
  • Vendor Resources
  • Spring Security Advisory CVE-2026-40977
  • Related CVEs
  • CVE-2026-40973: VMware Spring Boot Privilege Escalation

  • CVE-2026-40972: VMware Spring Boot RCE Vulnerability

  • CVE-2026-40975: VMware Spring Boot Information Disclosure

  • CVE-2026-40976: VMware Spring Boot Auth Bypass Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English