GitHub Advisoryadvisory · Maven

GHSA-cc4m-mp48-x7qg Spring AI's support for Anthropic's Skills API used LLM-influenced filenames unsanitized in Path.resolve before writing files to disk

MEDIUM Published 2026-05-26 Modified 2026-06-30 Official page ↗
Aliases
CVE-2026-41863
Ecosystem
Maven
Packages
org.springframework.ai:spring-ai-anthropic
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22
Reviewed
2026-06-30

Affected packages

• Maven org.springframework.ai:spring-ai-anthropic: >= 1.1.0, < 1.1.7 → 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.7

Related

Alias · CVE (1)

  • 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. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References