
CVE catalog
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 pe
- Severity
- High · CVSS 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 2026
A flaw was found in Spring Boot. A local attacker on the same host as the application may be able to take control of the `ApplicationTemp` directory due to predictable temporary directory handling. When the `server.servlet.session.persistent` setting is enabled and the attack persists across application restarts, this could allow the attacker to read session information, hijack authenticated user sessions, or execute arbitrary code as the application's user. Spring Boot: Spring Boot: Arbitrary Code Execution and Session Hijacking via predictable temporary directory The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | spring_boot | Not reported | 2.7.33 | fixed |
| Cpe | spring_boot | Not reported | 3.3.19 | fixed |
| Cpe | spring_boot | Not reported | 3.4.16 | fixed |
| Cpe | spring_boot | Not reported | 3.5.14 | fixed |
| Cpe | spring_boot | Not reported | 4.0.6 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | spring_boot | cpe | Not reported | 2.7.33 | Not reported | Not reported | Not reported |
| Cpe | spring_boot | cpe | Not reported | 3.3.19 | Not reported | Not reported | Not reported |
| Cpe | spring_boot | cpe | Not reported | 3.4.16 | Not reported | Not reported | Not reported |
| Cpe | spring_boot | cpe | Not reported | 3.5.14 | Not reported | Not reported | Not reported |
| Cpe | spring_boot | cpe | Not reported | 4.0.6 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40973]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40973.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1263.json]
[CERT-Bund public advisories] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]