GitHub Advisoryadvisory · Maven
GHSA-r5hp-3cgj-j6xv Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory
MEDIUM
Official page ↗
- Aliases
- CVE-2026-40979
- Ecosystem
- Maven
- Packages
- org.springframework.ai:spring-ai-transformers
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
- Weaknesses
- CWE-377
- Reviewed
- 2026-05-06
Affected packages
• Maven org.springframework.ai:spring-ai-transformers: >= 1.0.0, < 1.0.6 → fixed in 1.0.6
• Maven org.springframework.ai:spring-ai-transformers: >= 1.1.0, < 1.1.5 → fixed in 1.1.5
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)
Related
Weakness · not in database (1)
Alias · CVE (1)
- CVE-2026-40979 In Spring AI, having access to a shared environment can expose the ONNX model used by the application. vulnerability