CVE Explorer
CVE-2026-40973
A local attacker on the same host as the application may be able to take control of the directory used by `ApplicationTemp`. When `server.servlet.session.persistent` is set to `true` and the attack persists across application restarts, this may allow the attacker to read session information and hijack authenticated users or deploy a gadget chain and execute code as the application's user.
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–
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:bed82fcd7f17a990cfb76cf254ffca8f8e19e42f205e10a6051647b6ea1f12e0 · sha256:375620f5771cb0b8… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:bed82fcd7f17a990cfb76cf254ffca8f8e19e42f205e10a6051647b6ea1f12e0 · sha256:375620f5771cb0b8… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-377","description":"CWE-377: Insecure Temporary File","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:bed82fcd7f17a990cfb76cf254ffca8f8e19e42f205e10a6051647b6ea1f12e0 · sha256:375620f5771cb0b8… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://spring.io/security/cve-2026-40973"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bed82fcd7f17a990cfb76cf254ffca8f8e19e42f205e10a6051647b6ea1f12e0 · sha256:375620f5771cb0b8… · /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.