CVE-2026-40973
Fixed in a distro release EPSS <1%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 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.
Products: Spring Boot
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Maven | org.springframework.boot:spring-boot | 4.0.6 |
| Maven | org.springframework.boot:spring-boot | 3.5.14 |
| Maven | org.springframework.boot:spring-boot | no fix |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | apache-nifi-registry | 2.9.0-r7 |
| Chainguard | apache-nifi-registry-toolkit | 2.9.0-r7 |
| Chainguard | camunda-zeebe-8.6 | 8.6.39-r11 |
| Chainguard | camunda-zeebe-8.7 | 8.7.29-r0 |
| Chainguard | camunda-zeebe-8.8 | 8.8.24-r0 |
| Chainguard | camunda-zeebe-8.9 | 8.9.5-r0 |
| Chainguard | conductor | 3.31.0-r4 |
| Chainguard | conductor-fips | 3.31.0-r5 |
| Chainguard | kafbat-ui | 1.4.2-r9 |
| Chainguard | kafbat-ui-fips | 1.4.2-r8 |
| Chainguard | kayenta-2025.0 | no fix |
| Chainguard | kayenta-2025.1 | no fix |
| Chainguard | kayenta-2025.2 | no fix |
| Chainguard | kayenta-fips-2025.0 | no fix |
| Chainguard | kayenta-fips-2025.1 | no fix |
| Chainguard | kayenta-fips-2025.2 | no fix |
| Chainguard | keycloak-config-cli-iamguarded-compat | 6.5.0-r1 |
| Chainguard | nacos | 3.2.1-r2 |
| Chainguard | nacos-docker | 3.2.1-r1 |
| Chainguard | ontop | no fix |
| Chainguard | ontop-fips | no fix |
| Chainguard | seata-server | no fix |
| Chainguard | thingsboard-tb-mqtt-transport | 4.3.1.1-r11 |
| Chainguard | thingsboard-tb-node | 4.3.1.1-r11 |
| Chainguard | zipkin | 3.6.1-r7 |
| Chainguard | zipkin-slim | 3.6.1-r7 |
| Wolfi | apache-nifi-registry | 2.9.0-r7 |
| Wolfi | apache-nifi-registry-toolkit | 2.9.0-r7 |
| Wolfi | keycloak-config-cli-iamguarded-compat | 6.5.0-r1 |
| Wolfi | thingsboard-tb-mqtt-transport | 4.3.1.1-r11 |
| Wolfi | thingsboard-tb-node | 4.3.1.1-r11 |
| Wolfi | zipkin | 3.6.1-r7 |
| Wolfi | zipkin-slim | 3.6.1-r7 |