CVE-2026-59294 is a path traversal vulnerability in Spring AI's ResourceCacheService that affects versions 1.0.9 and earlier. The flaw is straightforward in mechanism but subtle in how it evaded detection: the cache service constructs file paths using new File(parentFolder, resourceName), where resourceName is derived from a URI fragment in the fetched resource URL. An attacker who controls the server hosting an AI resource can embed ../ sequences in the resource path, causing Spring AI to write cache files outside the intended cache directory and into arbitrary locations on the filesystem where the application process has write access.
What makes this worth your attention isn't the CVSS 5.9 severity metric — it's the pattern. This is the same vulnerability class that produced CVE-2018-1275 and CVE-2020-5408 in Spring's web layer, and the same architectural gap that produced CVE-2019-3773 in Spring WebFlow. The root cause isn't negligence in this specific cache service; it's that Java's low-level I/O APIs provide zero friction when developers compose paths from untrusted input. The File(parent, child) constructor silently canonicalizes .. sequences during object construction, making path traversal feel like idiomatic file I/O rather than a security-sensitive operation. The developer's mental model was "cache layer, not web layer" — and that categorization excluded the code from the security review radar that would have caught the same flaw in an HTTP parameter handler.
For your immediate response: verify whether your Spring AI dependency is 1.1.0 or later. If you're on 1.0.x and cannot upgrade, audit any code that passes URI-derived strings into File constructors without explicit canonicalization. The canonical fix is straightforward — resolve the path against the intended parent directory using Path.normalize() or File.getCanonicalPath() and verify the resolved path still starts within the allowed directory — but the deeper question is whether your codebase has other "infrastructure" layers (caching, templating, configuration) that were never subjected to the same path-traversal scrutiny as your HTTP endpoints.
The compounding risk: Spring AI 1.0.x is end-of-life with no patch coming. If your organization has pinned to that version for stability reasons, you are now running a publicly disclosed vulnerability with no upstream fix path. The CVE publication itself becomes an exploitation signal — active toolkits will fingerprint this pattern. Budget for the upgrade or accept the extended exposure window as operational debt.