7

CVE-2026-40973: spring spring boot Insecure Temporary File

CVSS: 7.0v3.1HighAnalyzed
AliasesCGA-42gh-5r7q-cf22CGA-4xmc-frgf-8xfwCGA-6xf4-v4h9-4wp3
Published 27-04-2026Last modified 29-04-2026

Vulnerability summary

CVE-2026-40973 is a high (CVSS 7.0) Insecure Temporary File vulnerability in spring spring boot. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.6% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.0/10
010
High · v3.1 (CVE.org)
EPSS score
0.13%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 27-04-2026
    PublishedVulnerability first disclosed.
  2. 29-04-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

0.00 pp

From 0.14% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.13%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard26 products
  • apache-nifi-registry< 2.9.0-r7
  • apache-nifi-registry-toolkit< 2.9.0-r7
  • camunda-zeebe-8.6< 8.6.39-r11
  • camunda-zeebe-8.7< 8.7.29-r0
  • camunda-zeebe-8.8< 8.8.24-r0
Wolfi7 products
  • apache-nifi-registry< 2.9.0-r7
  • apache-nifi-registry-toolkit< 2.9.0-r7
  • keycloak-config-cli-iamguarded-compat< 6.5.0-r1
  • thingsboard-tb-mqtt-transport< 4.3.1.1-r11
  • thingsboard-tb-node< 4.3.1.1-r11
Org.springframework.boot1 product
  • spring-boot≥ 4.0.0, < 4.0.6 | ≥ 3.5.0, < 3.5.14 | ≥ 3.4.0, ≤ 3.4.15 | ≥ 3.3.0, ≤ 3.3.18 | ≤ 2.7.32
Spring1 product
  • spring boot≥ 4.0.0, < 4.0.6 | ≥ 3.5.0, < 3.5.14 | ≥ 3.4.0, < 3.4.16 | ≥ 3.3.0, < 3.3.19 | ≥ 2.7.0, < 2.7.33
Vmware1 product
  • spring_boot< 2.7.33 | ≥ 3.3.0, < 3.3.19 | ≥ 3.4.0, < 3.4.16 | ≥ 3.5.0, < 3.5.14 | ≥ 4.0.0, < 4.0.6

5 vendors · 36 products

References

4 links