LLM-influenced filename used unsanitized in Path.resolve before file write in Spring AI support for Anthropic Skills API
Spring AI
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.ai:spring-ai-anthropic Maven |
|
|
Original 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
From the CVE record · vmware