CVE-2026-41863
Path Traversal in Spring AI via Unsanitized LLM Filenames
Publication date: 2026-05-25
Last updated on: 2026-05-25
Assigner: VMware
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| spring_ai | spring_ai | From 1.1.0 (inc) to 1.1.x (inc) |
Helpful Resources
Exploitability
| 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.