{"cve":"CVE-2026-40977","nvd":{"published":"2026-04-28T00:16:24.947","modified":"2026-07-24T21:10:00.143","status":"Analyzed","description":"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.\n\nAffected: 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7},"cwes":["CWE-59"],"references":["https://spring.io/security/cve-2026-40977"],"products":["vmware:spring_boot"],"source":"nvd","synced_at":"2026-10-19T22:33:09.003606135+00:00"},"epss":{"cve":"CVE-2026-40977","score":0.00112,"percentile":0.01353,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5368-6h4h-gr29","url":"https://osv.dev/vulnerability/GHSA-5368-6h4h-gr29","summary":"Spring Boot's PID file write follows symlinks at predictable default path","modified":"2026-05-06T19:26:28.959950Z","packages":[{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":[">=4.0.0 <4.0.6"],"fixed":["4.0.6"]},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":[">=3.5.0 <3.5.14"],"fixed":["3.5.14"]},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":[">=3.4.0 <=3.4.15"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":[">=3.3.0 <=3.3.18"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","ranges":["<=2.7.32"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}