5.9Medium

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

Spring Spring AI Published: (2 months ago)

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

VendorProductVersions
Spring Spring AI 2.0.0, 1.1.0 – ≤ 1.1.8, ≤ 1.0.9
vmware spring ai < 1.0.10

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* < 1.0.10
  • cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* ≥ 1.1.0 < 1.1.9
  • cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:* ≥ 2.0.0 < 2.0.0.1