Every CVE Search/ Get API key

CVE-2026-40979

Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory

6.1 MediumFix available

In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
High
Availability
None

Exploit likelihood

0.10%Up 0.1 points since Apr 28, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.1

In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

Record
CVE-2026-40979
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02
EUVDEUVD-2026-26012 6.1

In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

Record
EUVD-2026-26012
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-r5hp-3cgj-j6xv 6.1

Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory

In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

Record
GHSA-r5hp-3cgj-j6xv
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02
NVD 6.1

In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

Record
CVE-2026-40979
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02
OSV 6.1

In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

Record
CVE-2026-40979
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02
OSVGHSA-r5hp-3cgj-j6xv 6.1

Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory

In Spring AI, having access to a shared environment can expose the ONNX model used by the application.

Affected versions: Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

Record
GHSA-r5hp-3cgj-j6xv
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Weakness
CWE-377
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.ai:spring-ai-transformers
Maven
1.0.0 up to 1.0.6
1.0.6
org.springframework.ai:spring-ai-transformers
Maven
1.1.0 up to 1.1.5
1.1.5
org.springframework.ai:spring-ai-transformers
Maven
1.0.0 up to 1.0.6, plus listed versions
1.0.11.0.21.0.31.0.41.0.5
1.0.6
org.springframework.ai:spring-ai-transformers
Maven
1.1.0 up to 1.1.5, plus listed versions
1.1.11.1.21.1.31.1.4
1.1.5

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-40979 is a medium vulnerability (CVSS 6.1) in Spring Ai, published April 28, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.10%, the 1st percentile. Fixed in org.springframework.ai:spring-ai-transformers 1.0.6.

References

MoveEnter Open