Local Directory Vulnerability in Spring Boot Products
CVE-2026-40973
7HIGH
What is CVE-2026-40973?
A vulnerability exists in Spring Boot where a local attacker on the same host can gain control over the directory utilized by 'ApplicationTemp'. When the 'server.servlet.session.persistent' configuration is activated, the attacker may exploit this flaw to maintain access across application restarts. This could enable unauthorized reading of session information and ultimately lead to the hijacking of authenticated user sessions, or the execution of arbitrary code as the application's user through the deployment of a gadget chain.
Affected Version(s)
Spring Boot 4.0.0 < 4.0.6
Spring Boot 3.5.0 < 3.5.14
Spring Boot 3.4.0 < 3.4.16
