spring-projects/spring-ai · Security
Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory
- GHSA ID
- GHSA-r5hp-3cgj-j6xv
- CVE ID
- CVE-2026-40979
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Description
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)
CWEs
- CWE-377 · Insecure Temporary File