CVE-2026-47852 Predictable cache directory location allows local ONNX model substitution in Spring AI
A local attacker can substitute a malicious ONNX model via a predictable cache path, leading to code execution in Spring AI applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-47852?
CVE-2026-47852 is a high-severity path traversal vulnerability in Spring AI, published on 26 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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
Weakness: CWE-377
Which versions are affected by CVE-2026-47852?
It affects 1 product.
Products include Vmware Spring Ai.
How do I fix CVE-2026-47852?
No fix has been published for CVE-2026-47852 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-47852 being exploited?
There is no known exploitation of CVE-2026-47852 in the wild and no public exploit code.
Other vulnerabilities in Spring AI
- CVE-2026-22738 SpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code Execution
- CVE-2026-40978 Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
- CVE-2026-22730 CVE-2026-22730: SQL Injection in Spring AI MariaDBFilterExpressionConverter
- CVE-2026-47835 Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores
- CVE-2026-41705 Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs
Sources
Also known as GHSA-cmjm-96ff-348r.