Insecure Randomness 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.04% (13th 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 Insecure Randomness vulnerabilities in an interactive lesson.

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

Introduced: 5 May 2026

NewCVE-2026-7847  (opens in a new tab)
CWE-330  (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 Insecure Randomness via the _get_file_id function in the Uploaded File Handler process. An attacker can predict file identifiers by manipulating file uploads over the local network, potentially leading to unauthorized access to sensitive files.

CVSS Base Scores

version 4.0
version 3.1