HIGH 7.5

CVE-2026-47852

Predictable cache directory location allows local ONNX model substitution in Spring AI

Description

A local attacker on a multi-user host can pre-create the deterministic cache path and plant a malicious ONNX model file. Spring AI 2.0.0 Spring AI 1.1.0 - 1.1.8 Spring AI 1.0.0 - 1.0.9

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-transformers
>= 1.0.0, <= 1.0.9>= 1.1.0, <= 1.1.8= 2.0.0
-

Blast radius

1affected artifacts
20affected versions
10dependent artifacts (est.)
150dependent versions

90% of the dependent artifacts (9) still pull an affected version in their latest release.

DepthDependent versions
Direct
143
2 hops
7

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

Advisorygithub.com
Advisorynvd.nist.gov
Webspring.io