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

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
org.springframework.ai:spring-ai-anthropic MavenFrom 1.1.01.1.7
org.springframework.ai:spring-ai-anthropic MavenFrom 1.1.01.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.

Sources

Also known as GHSA-cc4m-mp48-x7qg.

Is CVE-2026-41863 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free