CVE-2026-41863
Received Received - Intake
Path Traversal in Spring AI via Unsanitized LLM Filenames

Publication date: 2026-05-25

Last updated on: 2026-05-25

Assigner: VMware

Description
Spring AI's support for Anthropic's Skills API used LLM-influenced filenames unsanitized in Path.resolve before writing files to disk. This could allow a malicious user to write files outside the intended target directory, including restricted directories. Affected versions: Spring AI: 1.1.0 through 1.1.x
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-25
Last Modified
2026-05-25
Generated
2026-05-26
AI Q&A
2026-05-26
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
spring_ai spring_ai From 1.1.0 (inc) to 1.1.x (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in Spring AI's support for Anthropic's Skills API, where filenames influenced by large language models (LLM) are not sanitized before being resolved with Path.resolve. This lack of sanitization allows a malicious user to write files outside the intended target directory, potentially including restricted directories.


How can this vulnerability impact me? :

The vulnerability can allow an attacker with some level of privileges to write files to arbitrary locations on the disk, outside the intended directory. This could lead to unauthorized modification or creation of files in restricted directories, potentially compromising system integrity or security.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart