{"id":"CVE-2026-40977","aliases":["CVE-2026-40977","GHSA-5368-6h4h-gr29"],"related":[],"kind":"vulnerability","state":"published","title":"Spring Boot's PID file write follows symlinks at predictable default path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.\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.","source":"cvelist"},{"lang":"es","text":"Cuando una aplicación está configurada para usar 'ApplicationPidFileWriter', un atacante local con acceso de escritura a la ubicación del archivo PID puede corromper un archivo en el host cada vez que se inicia la aplicación.\n\nAfectado: Spring Boot 4.0.0-4.0.5 (solución 4.0.6), 3.5.0-3.5.13 (solución 3.5.14), 3.4.0-3.4.15 (solución 3.4.16), 3.3.0-3.3.18 (solución 3.3.19), 2.7.0-2.7.32 (solución 2.7.33); comportamiento del archivo PID / enlace simbólico ('ApplicationPidFileWriter'). Las versiones que ya no son compatibles también están afectadas según el aviso del proveedor.","source":"nvd"}],"published":"2026-04-27T23:36:06.654Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H","score":4.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"type":"custom","introduced":"4.0.0","fixed":"4.0.6","status":"affected"},{"type":"custom","introduced":"3.5.0","fixed":"3.5.14","status":"affected"},{"type":"custom","introduced":"3.4.0","fixed":"3.4.16","status":"affected"},{"type":"custom","introduced":"3.3.0","fixed":"3.3.19","status":"affected"},{"type":"custom","introduced":"2.7.0","fixed":"2.7.33","status":"affected"}],"vendor":"Spring","product":"Spring Boot","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.6"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.5.0","status":"affected","fixed":"3.5.14"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.4.0","status":"affected","lastAffected":"3.4.15"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.3.0","status":"affected","lastAffected":"3.3.18"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.7.32"}],"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","purl":"pkg:maven/org.springframework.boot/spring-boot-cassandra","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.7.33"},{"status":"affected","introduced":"3.3.0","fixed":"3.3.19"},{"status":"affected","introduced":"3.4.0","fixed":"3.4.16"},{"status":"affected","introduced":"3.5.0","fixed":"3.5.14"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.6"}],"vendor":"vmware","product":"spring_boot","cpe":"cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://spring.io/security/cve-2026-40977","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40977","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-boot","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-28T13:55:11.041Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40977","url":"https://www.cve.org/CVERecord?id=CVE-2026-40977","licence":"CVE Terms of Use","modified":"2026-04-28T14:34:36.220Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5368-6h4h-gr29","url":"https://github.com/advisories/GHSA-5368-6h4h-gr29","licence":"CC-BY-4.0","modified":"2026-05-06T19:26:28.959Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40977","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40977","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:19.814Z","epss":{"score":0.00116,"percentile":0.01789,"date":"2026-12-01T12:00:22.000Z"}}