CVE-2026-51883: n/a
Langchain-Chatchat versions 0.3.0 and 0.3.1 have a path traversal vulnerability in the knowledge base creation and document upload interfaces. This flaw allows attackers to use path traversal sequences in the knowledge_base_name parameter to write files outside the intended directory.
AI Analysis
Technical Summary
The knowledge base creation and document upload interfaces in Langchain-Chatchat versions 0.3.0 and 0.3.1 are vulnerable to path traversal. An attacker can inject path traversal sequences such as '..\' into the knowledge_base_name parameter, enabling them to write knowledge base content to arbitrary locations outside the configured knowledge base root directory.
Potential Impact
Successful exploitation allows an attacker to write files to arbitrary locations on the file system outside the intended knowledge base directory. This could lead to unauthorized file creation or modification, potentially affecting system integrity or confidentiality depending on the environment and file system permissions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the affected interfaces and validate or sanitize the knowledge_base_name parameter to prevent path traversal sequences.
CVE-2026-51883: n/a
Description
Langchain-Chatchat versions 0.3.0 and 0.3.1 have a path traversal vulnerability in the knowledge base creation and document upload interfaces. This flaw allows attackers to use path traversal sequences in the knowledge_base_name parameter to write files outside the intended directory.
Affected software
pkg:github/chatchat-space/Langchain-ChatchatRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The knowledge base creation and document upload interfaces in Langchain-Chatchat versions 0.3.0 and 0.3.1 are vulnerable to path traversal. An attacker can inject path traversal sequences such as '..\' into the knowledge_base_name parameter, enabling them to write knowledge base content to arbitrary locations outside the configured knowledge base root directory.
Potential Impact
Successful exploitation allows an attacker to write files to arbitrary locations on the file system outside the intended knowledge base directory. This could lead to unauthorized file creation or modification, potentially affecting system integrity or confidentiality depending on the environment and file system permissions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the affected interfaces and validate or sanitize the knowledge_base_name parameter to prevent path traversal sequences.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-06-08T00:00:00.000Z
- State
- PUBLISHED
Threat ID: 6abfc5e5a43b0b3b89c8de3e
Added to database: 10/02/2026, 14:55:33 UTC
Last enriched: 10/02/2026, 14:57:48 UTC
Last updated: 10/03/2026, 03:05:23 UTC
Views: 11
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.
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.