Read the docs
TI-2026-06903 Aliases CVE-2026-7845GHSA-wmvv-fhm6-w34x

chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash

Priority MEDIUM 44CWE-327Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
None · Low · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-327.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0014 3rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
chatchat-spaceLangchain-Chatchat0.3.1.0; 0.3.1.1; 0.3.1.2; 0.3.1.3—No fix listedCNA
—langchain-chatchat (PyPI)up to 0.3.1.3—No fix listedGHSA-wmvv-fhm6-w34x
  • Langchain-Chatchat Vendorchatchat-space Affected 0.3.1.0; 0.3.1.1; 0.3.1.2; 0.3.1.3 Fixed in — No fix listed CNA
  • langchain-chatchat (PyPI) Vendor— Affected up to 0.3.1.3 Fixed in — No fix listed GHSA-wmvv-fhm6-w34x

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:*——chatchat-space
  • cpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:* Versions — — ·chatchat-space

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-7845
  2. 2026-10-03 Alias added: GHSA-wmvv-fhm6-w34x

References

  • TI-2026-76659 Missing authentication in Langchain-Chatchat lets attackers run commands CVSS 4.0CRITICAL 9.3
  • TI-2026-06902 chatchat-space Langchain-Chatchat Compatible File Service openai_routes.py delete_file missing authentication CVSS 4.0MEDIUM 5.3
  • TI-2025-06227 chatchat-space Langchain-Chatchat files path traversal CVSS 4.0MEDIUM 5.3
  • TI-2025-06226 chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal CVSS 4.0MEDIUM 5.3
  • TI-2025-06228 chatchat-space Langchain-Chatchat file path traversal CVSS 4.0MEDIUM 5.1
  • TI-2026-06905 chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values CVSS 4.0LOW 2.1
See all 7 →

Sources