{"id":"CVE-2026-40977","published":"2026-04-27T23:36:06Z","modified":"2026-04-28T14:34:36Z","title":"When an application is configured to use `ApplicationPidFileWriter`, a local attacker with write access to the PID…","vendor":"Spring","product":"Spring Boot","tier":"tail","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.\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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00112,"percentile":0.01409,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://spring.io/security/cve-2026-40977","tags":[]}],"priority":{"score":3.6,"factors":[{"name":"EPSS percentile","points":0.28},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Boot","versions":[">= 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-28T13:55:11.041412Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-cassandra","vulnerableRanges":[">=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"],"patched":["4.0.6","3.5.14"],"from":["GHSA-5368-6h4h-gr29"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-25941","exploited":false,"provenance":"source"}}