MODERATE 6.1
CVE-2026-40979
Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory
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)
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ai » spring-ai-transformers | >= 1.0.0, < 1.0.6>= 1.1.0, < 1.1.5 | 1.0.6, 1.1.5 |
Blast radius
1affected artifacts
11affected versions
7dependent artifacts (est.)
57dependent versions
85% of the dependent artifacts (6) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 51 |
| 2 hops | 6 |
Most used dependents
- gr.uoa.di.madgik » registry-starter-service4 usages
- org.springframework.ai » spring-ai-starter-model-transformers3 usages
- com.redis.om » redis-om-spring-ai0 usages
- gr.uoa.di.madgik » registry-service0 usages
- com.thecookiezen » archiledger-core0 usages
- io.github.massimilianopili » mcp-embeddings-tools0 usages
- io.github.massimilianopili » mcp-vector-tools0 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-40979 | nvd.nist.gov |
| Package | spring-projects/spring-ai | github.com |
| Web | security/cve-2026-40979 | spring.io |
