Race Condition Affecting langchain-chatchat package, versions [0,]


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LANGCHAINCHATCHAT-16635562
  • published11 May 2026
  • disclosed5 May 2026
  • creditDem00

Introduced: 5 May 2026

NewCVE-2026-7846  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

There is no fixed version for langchain-chatchat.

Overview

langchain-chatchat is a Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain

Affected versions of this package are vulnerable to Race Condition through a race condition in the files function of the OpenAI-Compatible File Upload API. An attacker can overwrite files by manipulating the file.filename argument during concurrent upload requests. This is only exploitable if the attacker has access to the local network and can perform simultaneous file uploads.

CVSS Base Scores

version 4.0
version 3.1