Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-41863 EUVD-2026-31638GHSA-cc4m-mp48-x7qg

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

Published May 25, 2026 · Updated May 26, 2026 · Assigned by vmware

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

Affected products

VendorProductAffectedFixed
Spring Spring AI 1.1.0 – ≤ 1.1.x —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.ai:spring-ai-anthropic >= 1.1.0, < 1.1.7 1.1.7 GHSA-cc4m-mp48-x7qg

References