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 version 1.1.0. It occurs because the product uses unsanitized, LLM-influenced filenames in Path.resolve before writing files to disk, allowing an attacker with limited privileges to write files outside the intended directory. This could lead to unauthorized file modification or creation in restricted directories. The vulnerability has a medium severity with a CVSS score of 6.5. No official patch or remediation guidance is currently available from the vendor.
AI Analysis
Technical Summary
CVE-2026-41863 is a CWE-22 path traversal vulnerability affecting Spring AI version 1.1.0. The issue stems from the use of unsanitized filenames influenced by large language models (LLMs) in the Path.resolve method prior to file write operations. This flaw allows a malicious user with limited privileges to write files outside the intended directory, including restricted system directories, potentially leading to unauthorized file manipulation. The vulnerability has a CVSS 3.1 base score of 6.5 (medium severity), with attack vector network, low attack complexity, requiring privileges, no user interaction, and impact limited to integrity. There is no known official patch or vendor remediation guidance at this time.
Potential Impact
An attacker with privileges to influence filenames can exploit this vulnerability to write files outside the intended directory, including restricted directories. This can lead to unauthorized modification or creation of files, potentially impacting system integrity. Confidentiality and availability are not affected according to the CVSS vector. No known exploits are reported in the wild.
Mitigation Recommendations
No official patch or remediation guidance is currently available from the vendor. Users should monitor the vendor's advisory channels for updates. Until a fix is released, avoid using vulnerable versions in untrusted environments or restrict access to the functionality that processes filenames influenced by LLMs to trusted users only.
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 version 1.1.0. It occurs because the product uses unsanitized, LLM-influenced filenames in Path.resolve before writing files to disk, allowing an attacker with limited privileges to write files outside the intended directory. This could lead to unauthorized file modification or creation in restricted directories. The vulnerability has a medium severity with a CVSS score of 6.5. No official patch or remediation guidance is currently available from the vendor.
CVSS v3.1
Score 6.5medium
Affected software
pkg:maven/org.springframework/spring-aiRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-41863 is a CWE-22 path traversal vulnerability affecting Spring AI version 1.1.0. The issue stems from the use of unsanitized filenames influenced by large language models (LLMs) in the Path.resolve method prior to file write operations. This flaw allows a malicious user with limited privileges to write files outside the intended directory, including restricted system directories, potentially leading to unauthorized file manipulation. The vulnerability has a CVSS 3.1 base score of 6.5 (medium severity), with attack vector network, low attack complexity, requiring privileges, no user interaction, and impact limited to integrity. There is no known official patch or vendor remediation guidance at this time.
Potential Impact
An attacker with privileges to influence filenames can exploit this vulnerability to write files outside the intended directory, including restricted directories. This can lead to unauthorized modification or creation of files, potentially impacting system integrity. Confidentiality and availability are not affected according to the CVSS vector. No known exploits are reported in the wild.
Mitigation Recommendations
No official patch or remediation guidance is currently available from the vendor. Users should monitor the vendor's advisory channels for updates. Until a fix is released, avoid using vulnerable versions in untrusted environments or restrict access to the functionality that processes filenames influenced by LLMs to trusted users only.
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: 05/25/2026, 06:40:00 UTC
Last enriched: 06/30/2026, 23:55:51 UTC
Last updated: 07/12/2026, 19:47:35 UTC
Views: 88
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.