CVE Explorer
CVE-2026-40977
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Spring Boot","vendor":"Spring","versions":[{"lessThan":"4.0.6","status":"affected","version":"4.0.0","versionType":"custom"},{"lessThan":"3.5.14","status":"affected","version":"3.5.0","versionType":"custom"},{"lessThan":"3.4.16","status":"affected","version":"3.4.0","versionType":"custom"},{"lessThan":"3.3.19","status":"affected","version":"3.3.0","versionType":"custom"},{"lessThan":"2.7.33","status":"affected","version":"2.7.0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1a0f4f6277fc2c16c7b133e56f03184689cd097ccfb60d58783f55e2e07fa681 · sha256:669fd5d917c57cfa… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1a0f4f6277fc2c16c7b133e56f03184689cd097ccfb60d58783f55e2e07fa681 · sha256:669fd5d917c57cfa… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1a0f4f6277fc2c16c7b133e56f03184689cd097ccfb60d58783f55e2e07fa681 · sha256:669fd5d917c57cfa… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://spring.io/security/cve-2026-40977"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1a0f4f6277fc2c16c7b133e56f03184689cd097ccfb60d58783f55e2e07fa681 · sha256:669fd5d917c57cfa… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.