CVE-2026-59294 Arbitrary File Write via Path Traversal in ResourceCacheService

Medium 5.9 Published Updated

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.

Sources

Also known as GHSA-2mrf-pjhv-x8h2.

Is CVE-2026-59294 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free