Skip to content
MediumVulnerability

CVE-2026-59294: Spring AI path traversal in ResourceCacheService cache filenames

Identifier
CVE-2026-59294
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

ResourceCacheService.getCacheName() builds the on-disk filename by appending the URI fragment verbatim, without stripping path separators or .. sequences. The result is passed to new File(resourceParentFolder, newFileName) before downloaded bytes are written there. The source lists Spring AI 2.0.0, 1.1.0 through 1.1.8, and 1.0.9 and earlier as affected.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.