Intel

AIKIDO-2026-509333

spring-ai-transformers is vulnerable to Uncontrolled Search Path Element

Uncontrolled Search Path ElementCVE-2026-47852 Published 6 days ago

75

High Risk

This Affects:

JAVAspring-ai-transformers
1.0.0 - 2.0.0
Fixed in 2.0.1
Are you affected? Scan for Free

TL;DR

spring-ai-transformers stores ONNX models in a deterministic cache path. A local attacker on a multi-user host can pre-create that path and plant a malicious model file. Later loads then execute or use the substituted model. The patch uses a cache location that cannot be predictably pre-created by another local user.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and Transformers ONNX models are loaded from the default cache directory on a multi-user host.

Background info

spring-ai-transformers is vulnerable to Uncontrolled Search Path Element in versions 1.0.0 - 2.0.0.

How to fix this

Upgrade the org.springframework.ai:spring-ai-transformers library to the patch version.