Vulnerabilityin Spring Boot.
No public exploit found; not on exploited lists.
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 to 4.0.5 (fix 4.0.6), 3.5.0 to 3.5.13 (fix 3.5.14), 3.4.0 to 3.4.15 (fix 3.4.16), 3.3.0 to 3.3.18 (fix 3.3.19), 2.7.0 to 2.7.32 (fix 2.7.33); predictable temp directory / `ApplicationTemp` ownership verification. Versions that are no longer supported are also affected per vendor advisory.
- Upgrade Spring Boot to 2.7.33, 3.3.19, 3.4.16, 3.5.14, 4.0.6 or later, whichever matches your release line.
- Upgrade org.springframework.boot:spring-boot (Maven) to 3.5.14, 4.0.6 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Apr 2026CVE ID reserved by vmware.
- 27 Apr 2026Published in the CVE List.
- 29 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Boot vulnerabilities
Same weakness: Insecure temporary file
Patchminder. CVE-2026-40973: Vulnerability in Spring Boot. https://patchminder.com/cve/cve-2026-40973/ (accessed 5 December 2026).