CVE-2026-7847: Langchain-Chatchat Uses Insufficiently Random Values
(updated )
A vulnerability was found in chatchat-space Langchain-Chatchat up to 0.3.1.3. The affected element is the function _get_file_id of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component Uploaded File Handler. Performing a manipulation results in insufficiently random values. Access to the local network is required for this attack. The attack’s complexity is rated as high. The exploitability is described as difficult. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
References
- github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable-File-ID.md
- github.com/advisories/GHSA-jv4p-mhmp-69vw
- github.com/chatchat-space/Langchain-Chatchat
- github.com/chatchat-space/Langchain-Chatchat/issues/5464
- nvd.nist.gov/vuln/detail/CVE-2026-7847
- vuldb.com/submit/807796
- vuldb.com/vuln/361126
- vuldb.com/vuln/361126/cti
Code Behaviors & Features
Detect and mitigate CVE-2026-7847 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →