VDB

CVE-2026-40977

CVE-2026-40977 PUBLISHED CVSS 4.7 MEDIUM

Spring Boot's PID file write follows symlinks at predictable default path

Reported by vmware · Published April 27, 2026

spring-boot-cassandra is fixed in 4.0.6, 3.5.14, 3.4.15 and 2 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.boot:spring-boot-cassandraMaven Central4.0.6, 3.5.14, 3.4.15, 3.3.18, 2.7.32
spring_bootvmware4.0.6, 3.5.14, 3.4.16, 3.3.19, 2.7.33
Spring BootSpring4.0.6, 3.5.14, 3.4.16, 3.3.19, 2.7.33

Risk scores

CVSS 3.1
4.7
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H

Affected products

VendorProductVersions
SpringSpring Boot4.0.0, 3.5.0, 3.4.0
SpringSpring Boot4.0.0, 3.5.0, 3.4.0
Mavenorg.springframework.boot:spring-boot-cassandra0, 3.3.0, 3.4.0

Timeline

  • Apr 23, 2026 CVE Published
  • Apr 24, 2026 PoC Published
  • May 13, 2026 Security Advisory (5 in total, the first dated here)
  • May 18, 2026 EPSS Score (22 in total, the first dated here)
  • Jul 24, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40977
vulnetix vdb fixes CVE-2026-40977

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40977/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›