CVE-2026-41863: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Spring Spring AI
CVE-2026-41863 is a path traversal vulnerability in Spring AI versions 1. 1. 0 through 1. 1. x. The issue arises because Spring AI's integration with Anthropic's Skills API uses large language model-influenced filenames without proper sanitization before resolving paths for file writes. This flaw allows an attacker with limited privileges to write files outside the intended directory, potentially overwriting or creating files in restricted locations. The vulnerability has a CVSS score of 6. 5, indicating a medium severity level. No official patch or remediation guidance is currently available from the vendor.
AI Analysis
Technical Summary
Spring AI versions 1.1.0 through 1.1.x contain a CWE-22 path traversal vulnerability due to unsanitized LLM-influenced filenames used in Path.resolve before writing files to disk. This improper limitation of pathname allows a malicious user with limited privileges to write files outside the intended target directory, including restricted directories. The vulnerability has a CVSS 3.1 base score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact. No patch or official remediation level has been published by the vendor as of the publication date.
Potential Impact
An attacker with limited privileges can exploit this vulnerability to write or overwrite files outside the designated directory, potentially modifying critical files or placing malicious files in restricted locations. This impacts the integrity of the system but does not affect confidentiality or availability. There are no known active exploits reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting permissions to limit the ability of the application to write files outside intended directories and monitor for unusual file system changes related to Spring AI. Avoid running Spring AI with elevated privileges where possible.
CVE-2026-41863: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Spring Spring AI
Description
CVE-2026-41863 is a path traversal vulnerability in Spring AI versions 1. 1. 0 through 1. 1. x. The issue arises because Spring AI's integration with Anthropic's Skills API uses large language model-influenced filenames without proper sanitization before resolving paths for file writes. This flaw allows an attacker with limited privileges to write files outside the intended directory, potentially overwriting or creating files in restricted locations. The vulnerability has a CVSS score of 6. 5, indicating a medium severity level. No official patch or remediation guidance is currently available from the vendor.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Spring AI versions 1.1.0 through 1.1.x contain a CWE-22 path traversal vulnerability due to unsanitized LLM-influenced filenames used in Path.resolve before writing files to disk. This improper limitation of pathname allows a malicious user with limited privileges to write files outside the intended target directory, including restricted directories. The vulnerability has a CVSS 3.1 base score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact. No patch or official remediation level has been published by the vendor as of the publication date.
Potential Impact
An attacker with limited privileges can exploit this vulnerability to write or overwrite files outside the designated directory, potentially modifying critical files or placing malicious files in restricted locations. This impacts the integrity of the system but does not affect confidentiality or availability. There are no known active exploits reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting permissions to limit the ability of the application to write files outside intended directories and monitor for unusual file system changes related to Spring AI. Avoid running Spring AI with elevated privileges where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-22T06:22:10.082Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a13eec0a5ae1af1aa6777b1
Added to database: 5/25/2026, 6:40:00 AM
Last enriched: 5/25/2026, 6:55:59 AM
Last updated: 5/25/2026, 8:05:14 AM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.