Vulnerability
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.
52 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-2p9g-gx2f-9wq5
- CGA-2qm6-3mf3-gv8w
- CGA-2wfw-47cr-g56r
- CGA-3vhg-mv9j-g73j
- CGA-42gh-5r7q-cf22
- CGA-4xmc-frgf-8xfw
- CGA-533g-xpv5-r48p
- CGA-63mh-849w-h24c
- CGA-6cc2-5h2v-6mv2
- CGA-6xf4-v4h9-4wp3
- CGA-7987-h328-mc25
- CGA-7cg3-gr2v-35pg
- CGA-7f8j-5mp2-9jcv
- CGA-8hq9-2hxj-9r5f
- CGA-9wp8-x238-x329
- CGA-c2g7-m44c-2gfx
- CGA-ccr2-qxh7-m74g
- CGA-fh53-2c48-mqc5
- CGA-fj42-q28c-8h89
- CGA-fvpm-5jw2-3ww7
- CGA-fx3q-53mh-8j7p
- CGA-g6f8-pvqp-x44f
- CGA-g9p3-9gqc-44mv
- CGA-gwm3-5cr2-5wm6
- CGA-hfm8-x4gr-q3vv
- CGA-j742-2x3v-whpp
- CGA-j8j2-cm5j-x5c6
- CGA-m2m4-v5xc-v23j
- CGA-mc5g-7mrx-gpm9
- CGA-mcp4-cjpm-xfpx
- CGA-p3fq-w84m-w7fx
- CGA-p73g-92mm-gfx5
- CGA-pcgw-qxxh-pfmq
- CGA-pfp3-fqg4-frpf
- CGA-pq5p-hxjm-xcw2
- CGA-pv7f-wr92-p5p6
- CGA-qgc4-6r4v-vph9
- CGA-r47x-v8hv-xh27
- CGA-r69j-85v8-p73v
- CGA-rhc7-926v-35wh
- CGA-v644-pvfq-xv79
- CGA-vj7w-8rwp-2frh
- CGA-w364-jphr-gm54
- CGA-w89f-rhxp-2jvc
- CGA-wjgg-8r8q-pqh6
- CGA-wwrp-x3x7-v393
- CGA-wx8f-6qp4-577g
- CGA-x4wx-966c-hpgw
- CGA-x6fc-39gf-w4cw
- CGA-xhpf-g7fc-p5jc
- CGA-xm95-v47f-39ff
-
GHSA-wwpq-f5c3-7hvx
Spring Boot accepts predictable temp directory without ownership verification