Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langchain-chatchat
  4. ›
  5. CVE-2026-7847

CVE-2026-7847: Langchain-Chatchat Uses Insufficiently Random Values

May 5, 2026 (updated May 8, 2026)

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 →

Affected versions

All versions up to 0.3.1.3

Solution

Unfortunately, there is no solution available yet.

Impact 2.6 LOW

CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-330: Use of Insufficiently Random Values

Source file

pypi/langchain-chatchat/CVE-2026-7847.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:18:48 +0000.