Path traversal in Spring AI - CVE-2026-41863
Published: May 23, 2026
Spring AI
Detailed vulnerability description
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.