VYPR
Unrated severityNVD Advisory· Published May 25, 2026

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

CVE-2026-41863

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Spring AI's Anthropic Skills API uses unsanitized LLM-influenced filenames in Path.resolve, allowing path traversal and arbitrary file write outside intended directory.

Vulnerability

Spring AI's support for the Anthropic Skills API (versions 1.1.0 through 1.1.x) uses filenames generated by the LLM without sanitization in Path.resolve before writing files to disk [1]. This path traversal vulnerability allows an attacker to control the destination path of written files.

Exploitation

An attacker must be able to influence the LLM output, typically by crafting prompts that cause the model to return a filename containing path traversal sequences (e.g., ../). The application then passes this unsanitized filename to Path.resolve, enabling the attacker to write files outside the intended target directory [1].

Impact

Successful exploitation allows an attacker to write files to arbitrary locations on the filesystem, including restricted directories. This can lead to overwriting critical system files or configuration, resulting in a high integrity impact. No confidentiality or availability impact is noted [1].

Mitigation

Users of affected versions should upgrade to Spring AI 1.1.7, which contains the fix [1]. No workarounds are documented.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.