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)

ArtifactAffected versionsFixed 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.

DepthDependent versions
Direct
51
2 hops
6

Most used dependents

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

Advisorynvd.nist.gov
Packagegithub.com
Webspring.io