Description
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.
Problem types
Product status
0.3.1.1
0.3.1.2
0.3.1.3
Timeline
| 2026-05-05: | Advisory disclosed |
| 2026-05-05: | VulDB entry created |
| 2026-05-05: | VulDB entry last update |
Credits
Dem00 (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/361126 (VDB-361126 | chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values)
vuldb.com/vuln/361126/cti (VDB-361126 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/807796 (Submit #807796 | chatchat-space Langchain-Chatchat 0.3.1.3 Use of Insufficiently Random Values / CWE-330)
github.com/chatchat-space/Langchain-Chatchat/issues/5464
github.com/...ngchain-Chatchat/Vuln-3-Predictable-File-ID.md
github.com/chatchat-space/Langchain-Chatchat/