Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-40979 EUVD-2026-26012GHSA-r5hp-3cgj-j6xv

Spring AI's ONNX model cache defaults to world-writable predictable /tmp directory

Published Apr 28, 2026 · Updated Apr 28, 2026 · Assigned by vmware

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 products

VendorProductAffectedFixed
Spring Spring AI 1.0.0 – < 1.0.6, 1.1.0 – < 1.1.5 1.0.6

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.ai:spring-ai-transformers >= 1.0.0, < 1.0.6 1.0.6 GHSA-r5hp-3cgj-j6xv
Maven org.springframework.ai:spring-ai-transformers >= 1.1.0, < 1.1.5 1.1.5 GHSA-r5hp-3cgj-j6xv

References