5.9Medium
CVE-2026-59294Arbitrary File Write via Path Traversal in ResourceCacheService
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):
CWE-22
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://spring.io/security/cve-2026-59294 Vendor Advisory
CPE matches (NVD) (3)
cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*< 1.0.10cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*≥ 1.1.0 < 1.1.9cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*≥ 2.0.0 < 2.0.0.1