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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ai » spring-ai-transformers | <= 1.0.9>= 1.1.0, <= 1.1.8= 2.0.0 | - |
Blast radius
51% of the dependent artifacts (45) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 164 |
| 2 hops | 20 |
| 3 hops | 250 |
| 4 hops | 188 |
| 5 hops | 9 |
| 6 hops | 6 |
Most used dependents
- io.github.shuigedeng » taotao-cloud-starter-cache-redis24 usages
- io.github.shuigedeng » taotao-boot-starter-cache-redis23 usages
- io.github.shuigedeng » taotao-cloud-starter-sms-common14 usages
- io.github.shuigedeng » taotao-boot-starter-sms-common12 usages
- io.github.shuigedeng » taotao-boot-starter-lock8 usages
- io.github.shuigedeng » taotao-boot-starter-data-jpa6 usages
- io.github.shuigedeng » taotao-boot-starter-data-mybatis6 usages
- com.redis.om » redis-om-spring6 usages
- io.github.shuigedeng » taotao-cloud-starter-lock6 usages
- io.github.shuigedeng » taotao-boot-starter-idempotent5 usages
- io.github.shuigedeng » taotao-boot-starter-ratelimit5 usages
- io.github.shuigedeng » taotao-boot-starter-sensitive5 usages
- io.github.shuigedeng » taotao-boot-starter-security-spring4 usages
- io.github.shuigedeng » taotao-boot-starter-web4 usages
- io.github.shuigedeng » taotao-boot-starter-encrypt4 usages
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
| Advisory | CVE record CVE-2026-59294 | github.com |
| Advisory | NVD CVE-2026-59294 | nvd.nist.gov |
| Web | security/cve-2026-59294 | spring.io |
