CVE-2026-41863

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

Published May 25, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical impact

Spring AI's support for Anthropic's Skills API uses LLM‑influenced filenames without sanitization in Path.resolve before the file is written to disk, which allows files to be written outside the intended target directory, including restricted directories. This directory traversal flaw permits an attacker to create or overwrite files beyond the intended scope, potentially affecting the integrity of the system.

Affected Systems

Affected: Spring AI, versions 1.1.0 through 1.1.x. The issue is present in all releases of Spring AI that include the Anthropic Skills API integration within that range.

Risk and Exploitability

The flaw carries a CVSS score of 6.5, indicating medium severity. EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. The likely attack surface is remote; an attacker who can invoke the Anthropic Skills API endpoint could supply a crafted filename that causes the vulnerable Path.resolve logic to write the file outside the intended directory, allowing unauthorized creation or modification of files in locations beyond the intended scope.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring AI to a patched version released after 1.1.x.
  • If an upgrade is not feasible, restrict file writes to a verified safe directory and enforce strict path normalization checks.
  • Audit and monitor file creation events to detect unauthorized writes.

Generated by OpenCVE AI on May 25, 2026 at 07:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA 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
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Ai
CPEs cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Ai
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spring
Spring spring
Vendors & Products Spring
Spring spring
Type Values Removed Values Added
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
Title LLM-influenced filename used unsanitized in Path.resolve before file write in Spring AI support for Anthropic Skills API
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
May 26, 2026, 2:19 PM
Reserved
Apr 22, 2026, 6:22 AM
Status
Analyzed
Published
May 25, 2026, 7:16 AM
Modified
Jul 23, 2026, 5:10 PM