Skip to content
CVE PROGRAM SOURCE RECORD5.9 Medium

CVE-2026-59294

Arbitrary 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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Spring Spring AI

Default version status: unaffected

  • 2.0.0affected
  • 1.1.0 to ≤ 1.1.8affected
  • 0 to ≤ 1.0.9affected

References