Insecure Temporary File Affecting org.springframework.ai:spring-ai-transformers package, versions [1.0.0,2.0.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAI-19267427
  • published26 Aug 2026
  • disclosed20 Aug 2026
  • creditUnknown

Introduced: 20 Aug 2026

NewCVE-2026-47852  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade org.springframework.ai:spring-ai-transformers to version 2.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Temporary File via the predictable cache directory location. An attacker can substitute a malicious ONNX model file by pre-creating the deterministic cache path on a multi-user host.

CVSS Base Scores

version 4.0
version 3.1