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

CVE-2026-7845: Langchain-Chatchat Uses a Broken or Risky Cryptographic Algorithm

May 5, 2026 (updated May 8, 2026)

A flaw has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. This issue affects the function PIL.Image.tobytes of the file libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py of the component Vision Chat Paste Image Handler. This manipulation of the argument paste_image.image_data causes use of weak hash. The attacker needs to be present on the local network. The attack is considered to have high complexity. The exploitability is assessed as difficult. The exploit has been published and may 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-1-tobytes-Hash-Collision.md
  • github.com/advisories/GHSA-wmvv-fhm6-w34x
  • github.com/chatchat-space/Langchain-Chatchat
  • github.com/chatchat-space/Langchain-Chatchat/issues/5462
  • nvd.nist.gov/vuln/detail/CVE-2026-7845
  • vuldb.com/submit/807794
  • vuldb.com/vuln/361124
  • vuldb.com/vuln/361124/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-7845 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:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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