CVE-2026-59294

Arbitrary File Write via Path Traversal in ResourceCacheService

State
Published
Severity
5.9 Medium
Published
Aug 27, 2026
Updated
Aug 28, 2026
Reserved
Jul 4, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:Lvmware

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
Spring AISpring
  • 2.0.0Affected
  • 1.1.0 through 1.1.8Affected
  • 1.0.9 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.