GitHub Advisoryadvisory · PyPI
GHSA-jv4p-mhmp-69vw Langchain-Chatchat Uses Insufficiently Random Values
LOW
Official page ↗
- Aliases
- CVE-2026-7847
- Ecosystem
- PyPI
- Packages
- langchain-chatchat
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-330
- Reviewed
- 2026-05-08
Affected packages
• PyPI langchain-chatchat: <= 0.3.1.3 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2026-7847 A vulnerability was found in chatchat-space Langchain-Chatchat up to 0.3.1.3. vulnerability
Weakness · CWE (1)
- CWE-330 Use of Insufficiently Random Values weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-7847 advisory
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5464 web
- https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable-File-ID.md web
- https://github.com/chatchat-space/Langchain-Chatchat package
- https://vuldb.com/submit/807796 web
- https://vuldb.com/vuln/361126 web
- https://vuldb.com/vuln/361126/cti web