Skip to main content
EPSS 0.4%top 72%

CVE-2026-59294: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Spring Spring AI

0
Medium
Published: 08/27/2026 (08/27/2026, 17:57:52 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring AI

Description

CVE-2026-59294 is a path traversal vulnerability in Spring AI affecting versions 1.0.9 and earlier, 1.1.0 through 1.1.8, and 2.0.0. The vulnerability arises because ResourceCacheService.getCacheName() constructs file paths by appending URI fragments without sanitizing path separators or '..' sequences, allowing potentially unauthorized file writes. The CVSS 3.1 score is 5.9 (medium severity). No official patch or remediation guidance is currently available.

CVSS v3.1

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L

Affected software

Spring

Spring AI

Affected versions
>=1.1.0 <=1.1.8>=0 <=1.0.9=2.0.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:23:14 UTC

Technical Analysis

The vulnerability in Spring AI's ResourceCacheService.getCacheName() method involves improper limitation of a pathname to a restricted directory (CWE-22). The method builds an on-disk filename by directly appending the URI fragment without removing path traversal characters such as '..' or path separators. This filename is then used to create a File object under a resource parent folder, where downloaded bytes are written. This flaw can allow an attacker with low privileges to write files outside the intended directory, potentially leading to integrity impacts. Affected versions include 1.0.9 and earlier, 1.1.0 through 1.1.8, and 2.0.0. The CVSS vector indicates network attack vector, high attack complexity, low privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and low availability impact.

Potential Impact

The vulnerability allows an attacker to write files outside the intended directory by exploiting path traversal in the file naming process. This can lead to integrity compromise of the system by overwriting or placing malicious files in unauthorized locations. There is no confidentiality impact reported. Availability impact is low. The attack requires network access and low privileges but has high attack complexity.

Mitigation Recommendations

No official patch or remediation level is currently provided by the vendor. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider restricting access to the vulnerable service and monitor for suspicious file writes related to this component.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-07-04T18:13:34.323Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a909cf8acd9273b49b2d05c

Added to database: 08/27/2026, 20:24:24 UTC

Last enriched: 09/10/2026, 04:23:14 UTC

Last updated: 10/11/2026, 18:48:20 UTC

Views: 79

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses