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–3.3.18 (fix 3.3.19), 2.7.0–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.
References
Link Resource
https://spring.io/security/cve-2026-40973 Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Un atacante local en el mismo host que la aplicación podría tomar el control del directorio utilizado por 'ApplicationTemp'. Cuando 'server.servlet.session.persistent' se establece en 'true' y el ataque persiste a través de los reinicios de la aplicación, esto podría permitir al atacante leer información de la sesión y secuestrar usuarios autenticados o desplegar una cadena de gadgets y ejecutar código como el usuario de la aplicación. Afectado: Spring Boot 4.0.0-4.0.5 (corrección 4.0.6), 3.5.0-3.5.13 (corrección 3.5.14), 3.4.0-3.4.15 (corrección 3.4.16), 3.3.0-3.3.18 (corrección 3.3.19), 2.7.0-2.7.32 (corrección 2.7.33); verificación de propiedad de directorio temporal predecible / 'ApplicationTemp'. Las versiones que ya no son compatibles también se ven afectadas según el aviso del proveedor.

30 Apr 2026, 14:25

Type Values Removed Values Added
References () https://spring.io/security/cve-2026-40973 - () https://spring.io/security/cve-2026-40973 - Vendor Advisory
First Time Vmware
Vmware spring Boot
CPE cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*

28 Apr 2026, 00:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-28 00:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-40973

Mitre link : CVE-2026-40973

CVE.ORG link : CVE-2026-40973


JSON object : View

Products Affected

vmware

  • spring_boot
CWE
CWE-377

Insecure Temporary File