MODERATE 5.9

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-transformers
<= 1.0.9>= 1.1.0, <= 1.1.8= 2.0.0
-

Blast radius

1affected artifacts
35affected versions
87dependent artifacts (est.)
637dependent versions

51% of the dependent artifacts (45) still pull an affected version in their latest release.

DepthDependent versions
Direct
164
2 hops
20
3 hops
250
4 hops
188
5 hops
9
6 hops
6

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorynvd.nist.gov
Webspring.io