Insufficient Randomness in File Upload Handler of Langchain-Chatchat by chatchat-space
CVE-2026-7847
Key Information:
- Vendor
Chatchat-space
- Status
- Vendor
- CVE Published:
- 5 May 2026
Badges
What is CVE-2026-7847?
A vulnerability exists in the Uploaded File Handler of Langchain-Chatchat, impacting versions up to 0.3.1.3. Specifically, the issue lies within the _get_file_id function in the openai_routes.py file, where manipulation can lead to the use of insufficiently random values. This flaw necessitates access to the local network for exploitation, and despite the complex nature of the attack, it has been publicly disclosed and could potentially be exploited. The developers have been notified of this vulnerability; however, there has been no response to address the issue.
Affected Version(s)
Langchain-Chatchat 0.3.1.0
Langchain-Chatchat 0.3.1.1
Langchain-Chatchat 0.3.1.2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
