SB2026052317 - Path traversal in Spring AI
Published: May 23, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: CVE-2026-41863)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to write files outside the intended target directory.
The vulnerability exists due to path traversal in Path.resolve when writing files to disk using LLM-influenced filenames. A remote user can provide a crafted filename to write files outside the intended target directory.
The issue can affect writes into restricted directories.
Remediation
Install update from vendor's website.