# CVE-2026-40973

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-27 · Modified: 2026-04-29
- Aliases: CGA-42gh-5r7q-cf22, CGA-4xmc-frgf-8xfw, CGA-6xf4-v4h9-4wp3, CGA-7987-h328-mc25, CGA-7cg3-gr2v-35pg, CGA-7f8j-5mp2-9jcv, CGA-g9p3-9gqc-44mv, CGA-m2m4-v5xc-v23j, CGA-mcp4-cjpm-xfpx, CGA-p3fq-w84m-w7fx, CGA-pq5p-hxjm-xcw2, CGA-v644-pvfq-xv79, CGA-wwrp-x3x7-v393, CGA-x6fc-39gf-w4cw, CGA-xhpf-g7fc-p5jc, CGA-2p9g-gx2f-9wq5, CGA-2qm6-3mf3-gv8w, CGA-2wfw-47cr-g56r, CGA-3vhg-mv9j-g73j, CGA-533g-xpv5-r48p, CGA-63mh-849w-h24c, CGA-6cc2-5h2v-6mv2, 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-gwm3-5cr2-5wm6, CGA-hfm8-x4gr-q3vv, CGA-j742-2x3v-whpp, CGA-j8j2-cm5j-x5c6, CGA-mc5g-7mrx-gpm9, CGA-p73g-92mm-gfx5, CGA-pcgw-qxxh-pfmq, CGA-pfp3-fqg4-frpf, CGA-pv7f-wr92-p5p6, GHSA-wwpq-f5c3-7hvx, CGA-qgc4-6r4v-vph9, CGA-r47x-v8hv-xh27, CGA-r69j-85v8-p73v, CGA-rhc7-926v-35wh, CGA-vj7w-8rwp-2frh, CGA-w364-jphr-gm54, CGA-w89f-rhxp-2jvc, CGA-wjgg-8r8q-pqh6, CGA-wx8f-6qp4-577g, CGA-x4wx-966c-hpgw, CGA-xm95-v47f-39ff
- Record: https://cvemate.com/vulnerability/CVE-2026-40973 · JSON: https://cvemate.com/vulnerability/CVE-2026-40973/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.141%, percentile 3.62%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 36)

- chainguard apache-nifi-registry (Chainguard): \< 2.9.0-r7
- chainguard apache-nifi-registry-toolkit (Chainguard): \< 2.9.0-r7
- chainguard camunda-zeebe-8.6 (Chainguard): \< 8.6.39-r11
- chainguard camunda-zeebe-8.7 (Chainguard): \< 8.7.29-r0
- chainguard camunda-zeebe-8.8 (Chainguard): \< 8.8.24-r0
- chainguard camunda-zeebe-8.9 (Chainguard): \< 8.9.5-r0
- chainguard conductor (Chainguard): \< 3.31.0-r4
- chainguard conductor-fips (Chainguard): \< 3.31.0-r5
- chainguard kafbat-ui (Chainguard): \< 1.4.2-r9
- chainguard kafbat-ui-fips (Chainguard): \< 1.4.2-r8
- chainguard kayenta-2025.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.0 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.1 (Chainguard): All versions (No fix recorded)
- chainguard kayenta-fips-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard keycloak-config-cli-iamguarded-compat (Chainguard): \< 6.5.0-r1
- chainguard nacos (Chainguard): \< 3.2.1-r2
- chainguard nacos-docker (Chainguard): \< 3.2.1-r1
- chainguard ontop (Chainguard): All versions (No fix recorded)

## References

- <https://spring.io/security/cve-2026-40973>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40973.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40973>
- <https://github.com/spring-projects/spring-boot>

---

Data as of 2026-12-05T04:19:57.844Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
