Skip to main content
EPSS 0.2%top 96%

CVE-2026-51884: n/a

0
High
VulnerabilityCVE-2026-51884cvecve-2026-51884
Published: 10/01/2026 (10/01/2026, 00:00:00 UTC)
Source: CVE Database V5

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

GitHub Actionsmore threats →ai
chatchat-space/langchain-chatchat
pkg:github/chatchat-space/langchain-chatchat
Affected versions
=0.3.1

Run 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

AILast updated: 10/02/2026, 14:57:51 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses