Path traversal in Spring AI - CVE-2026-41863

 

Path traversal in Spring AI - CVE-2026-41863

Published: May 23, 2026


Vulnerability identifier: #VU132209
CSH Severity: Low
CVSS v4: 7.1 [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]
CVE-ID: CVE-2026-41863
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Spring AI

How to mitigate CVE-2026-41863

Install security update from vendor's website.

Spring AI - update to 1.1.7

External References

Related Security Bulletins