CVE-2026-40973: A local attacker on the same host as the application may be able to take control of the directory used by `App
CVE-2026-40973 is a high-severity flaw (CVSS 7.0) affecting spring boot. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.0 (High) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.1% (top 97%) |
| CISA exploited list | No |
| Weakness | CWE-377 |
| Published | 2026-04-28 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40973?
spring boot: upgrade to 2.7.33, 3.3.19, 3.4.16, 3.5.14, 4.0.6. Exact commands for each OS are on this page.
Is CVE-2026-40973 being exploited?
CVE-2026-40973 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40973 affect?
CVE-2026-40973 affects spring boot. Severity is high (CVSS 7.0). 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
How urgent is CVE-2026-40973?
Priority 25/100. High severity
Software pages
Spring Framework vulnerabilities · VMware vulnerabilities
Related CVEs
- CVE-2026-40970 MEDIUM 5.0 UPGRADE When configured to use an SSL bundle, Spring Boot's Elasticsearch auto-configuration does not perform hostname
- CVE-2026-41001 MEDIUM 5.3 UPGRADE Spring Boot's ArtemisEmbeddedConfigurationFactory uses a fixed, static path for the embedded Artemis message b
- CVE-2026-40992 MEDIUM 5.0 UPGRADE Spring Boot's Mail auto-configuration does not enable hostname verification
- CVE-2026-40976 CRITICAL 9.1 UPGRADE In certain circumstances, Spring Boot's default web security is ineffective allowing unauthorized access to al
- CVE-2026-40972 HIGH 7.5 UPGRADE An attacker on the same network as the remote application may be able to utilize a timing attack to discover i