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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-27 · Modified: 2026-08-28
- Record: https://cvemate.com/vulnerability/CVE-2026-59294 · JSON: https://cvemate.com/vulnerability/CVE-2026-59294/json

## Description

```text
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
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.266%, percentile 19.694%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring ai: 2.0.0 \| ≥ 1.1.0, ≤ 1.1.8 \| ≤ 1.0.9
- vmware spring\_ai: \< 1.0.10 \| ≥ 1.1.0, \< 1.1.9 \| ≥ 2.0.0, \< 2.0.0.1

## References

- <https://spring.io/security/cve-2026-59294>

---

Data as of 2026-12-05T04:02:52.466Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
