Home

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.

PUBLISHED Reserved 2026-05-05 | Published 2026-05-05 | Updated 2026-05-06 | Assigner VulDB




LOW: 2.1CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
LOW: 2.6CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
LOW: 2.6CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
1.4AV:A/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR

Problem types

Insufficiently Random Values

Cryptographic Issues

Product status

0.3.1.0
affected

0.3.1.1
affected

0.3.1.2
affected

0.3.1.3
affected

Timeline

2026-05-05:Advisory disclosed
2026-05-05:VulDB entry created
2026-05-05:VulDB entry last update

Credits

Dem00 (VulDB User) reporter

VulDB CNA Team coordinator

References

vuldb.com/vuln/361126 (VDB-361126 | chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values) vdb-entry technical-description

vuldb.com/vuln/361126/cti (VDB-361126 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/submit/807796 (Submit #807796 | chatchat-space Langchain-Chatchat 0.3.1.3 Use of Insufficiently Random Values / CWE-330) third-party-advisory

github.com/chatchat-space/Langchain-Chatchat/issues/5464 issue-tracking

github.com/...ngchain-Chatchat/Vuln-3-Predictable-File-ID.md exploit

github.com/chatchat-space/Langchain-Chatchat/ product

cve.org (CVE-2026-7847)

nvd.nist.gov (CVE-2026-7847)

Download JSON