CVE-2026-41863 Spring AI's support for Anthropic's Skills API used LLM-influenced filenames unsanitized in Path.resolve before writing files to disk
Attackers can write files outside intended directories via unsanitized LLM-generated filenames in Spring AI's Anthropic Skills API support.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-41863?
CVE-2026-41863 is a medium-severity path traversal vulnerability in Spring AI, published on 25 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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
Weakness: CWE-22
Which versions are affected by CVE-2026-41863?
2 open source packages ship an affected version, including org.springframework.ai:spring-ai-anthropic. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.ai:spring-ai-anthropic Maven | From 1.1.0 | 1.1.7 |
org.springframework.ai:spring-ai-anthropic Maven | From 1.1.0 | 1.1.7 |
Products include Vmware Spring Ai.
How do I fix CVE-2026-41863?
Upgrade org.springframework.ai:spring-ai-anthropic to 1.1.7 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-41863 being exploited?
There is no known exploitation of CVE-2026-41863 in the wild and no public exploit code.
Other vulnerabilities in Spring AI
- CVE-2026-22738 SpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code Execution
- CVE-2026-40978 Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()
- CVE-2026-22730 CVE-2026-22730: SQL Injection in Spring AI MariaDBFilterExpressionConverter
- CVE-2026-47835 Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores
- CVE-2026-41705 Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs
Sources
Also known as GHSA-cc4m-mp48-x7qg.