Insecure Temporary File in Spring AI - CVE-2026-47852

 

Insecure Temporary File in Spring AI - CVE-2026-47852

Published: August 28, 2026


Vulnerability identifier: #VU146243
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-47852
CWE-ID: CWE-377
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to tamper with model integrity.

The vulnerability exists due to improper access control in the ONNX model cache directory handling when resolving the deterministic cache path. A remote attacker can pre-create the cache path and plant a malicious ONNX model file to tamper with model integrity.

This issue is exploitable on a multi-user host.


Affected software

Spring AI

How to mitigate CVE-2026-47852

Install security update from vendor's website.

Spring AI - addressed in versions 1.0.10, 1.1.9, 2.0.0.1

External References

Related Security Bulletins