CVE-2026-59294 Arbitrary File Write via Path Traversal in ResourceCacheService
Attackers can write arbitrary files to the server by exploiting path traversal in the resource cache filename generation logic.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-59294?
CVE-2026-59294 is a medium-severity path traversal vulnerability in Spring AI, published on 27 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
ResourceCacheService.getCacheName() builds the on-disk filename by appending the URI fragment verbatim, without stripping path separators or .. sequences, and passes the result to new File(resourceParentFolder, newFileName) before writing the downloaded bytes there. Spring AI 2.0.0 Spring AI 1.1.0 - 1.1.8 Spring AI 1.0.9 and earlier
Weakness: CWE-22
Which versions are affected by CVE-2026-59294?
It affects 1 product.
Products include Vmware Spring Ai.
How do I fix CVE-2026-59294?
No fix has been published for CVE-2026-59294 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-59294 being exploited?
There is no known exploitation of CVE-2026-59294 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-2mrf-pjhv-x8h2.