CVE-2026-51884: n/a
Langchain Chatchat version 0.3.1 contains a path traversal vulnerability in its /knowledge_base/upload_temp_docs endpoint. This flaw allows attackers to craft malicious filenames that bypass directory restrictions and write files to arbitrary locations on the server.
AI Analysis
Technical Summary
The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. An attacker can exploit this by submitting specially crafted filenames, enabling them to write files outside the intended temporary directory. This bypasses the application's intended file storage restrictions and may lead to unauthorized file creation on the server.
Potential Impact
Successful exploitation allows an attacker to write files to arbitrary locations on the server, potentially leading to unauthorized file creation or modification. This could be leveraged for further attacks depending on the server environment and file permissions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the upload endpoint and monitor for suspicious file upload activity.
CVE-2026-51884: n/a
Description
Langchain Chatchat version 0.3.1 contains a path traversal vulnerability in its /knowledge_base/upload_temp_docs endpoint. This flaw allows attackers to craft malicious filenames that bypass directory restrictions and write files to arbitrary locations on the server.
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/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. An attacker can exploit this by submitting specially crafted filenames, enabling them to write files outside the intended temporary directory. This bypasses the application's intended file storage restrictions and may lead to unauthorized file creation on the server.
Potential Impact
Successful exploitation allows an attacker to write files to arbitrary locations on the server, potentially leading to unauthorized file creation or modification. This could be leveraged for further attacks depending on the server environment and file permissions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the upload endpoint and monitor for suspicious file upload activity.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-06-08T00:00:00.000Z
- State
- PUBLISHED
Threat ID: 6abfc5e5a43b0b3b89c8de3f
Added to database: 10/02/2026, 14:55:33 UTC
Last enriched: 10/02/2026, 14:57:51 UTC
Last updated: 10/03/2026, 03:09:54 UTC
Views: 10
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.