What’s Vulnerable › Vulnerabilities
CVE-2026-59294: Arbitrary File Write via Path Traversal in ResourceCacheService
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-27 · updated 2026-08-31
- Weakness: CWE-22
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
Affected products
- Spring AI: before 1.0.10; from 1.1.0 before 1.1.9; from 2.0.0 before 2.0.0.1 — fixed in 1.0.10, 1.1.9, 2.0.0.1
- Spring AI: from 1.1.0 through 1.1.8; through 1.0.9; 2.0.0
How to fix
Upgrade to a fixed version: Spring AI 1.0.10, 1.1.9, 2.0.0.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-59294 or the next vulnerability affects your stack