# CVE-2026-40977

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-27 · Modified: 2026-04-28
- Aliases: GHSA-5368-6h4h-gr29
- Record: https://cvemate.com/vulnerability/CVE-2026-40977 · JSON: https://cvemate.com/vulnerability/CVE-2026-40977/json

## Description

```text
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.
```

## Signals

- CVSS: 6.7 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.116%, percentile 1.774%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.boot spring-boot-cassandra (Maven): ≥ 4.0.0, \< 4.0.6 \| ≥ 3.5.0, \< 3.5.14 \| ≥ 3.4.0, ≤ 3.4.15 \| ≥ 3.3.0, ≤ 3.3.18 \| ≤ 2.7.32
- spring spring boot: ≥ 4.0.0, \< 4.0.6 \| ≥ 3.5.0, \< 3.5.14 \| ≥ 3.4.0, \< 3.4.16 \| ≥ 3.3.0, \< 3.3.19 \| ≥ 2.7.0, \< 2.7.33
- vmware spring\_boot: \< 2.7.33 \| ≥ 3.3.0, \< 3.3.19 \| ≥ 3.4.0, \< 3.4.16 \| ≥ 3.5.0, \< 3.5.14 \| ≥ 4.0.0, \< 4.0.6

## References

- <https://spring.io/security/cve-2026-40977>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40977>
- <https://github.com/spring-projects/spring-boot>

---

Data as of 2026-12-05T04:10:43.103Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
