Skip to content

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

MediumCVSS 6.5 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Spring AI <= 1.0.9; = 2.0.0; >= 1.1.0, <= 1.1.8 after 1.0.9, 1.1.8 Fixed
VMware Spring AI < 1.0.10; >= 1.1.0, < 1.1.9; >= 2.0.0, < 2.0.0.1 1.0.10, 1.1.9, 2.0.0.1 Fixed

Affected products

ProductAffected versionsFixed in
Spring AI = 2.0.0 No fix listed
Spring AI >= 1.1.0, <= 1.1.8 No fix listed
Spring AI <= 1.0.9 No fix listed
VMware Spring AI < 1.0.10 1.0.10
VMware Spring AI >= 1.1.0, < 1.1.9 1.1.9
VMware Spring AI >= 2.0.0, < 2.0.0.1 2.0.0.1

References