chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| chatchat-space | Langchain-Chatchat | 0.3.1.0; 0.3.1.1; 0.3.1.2; 0.3.1.3 | — | No fix listed | CNA |
| — | langchain-chatchat (PyPI) | up to 0.3.1.3 | — | No fix listed | GHSA-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.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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
- 2026-10-02 Threatist record created from CVE-2026-7845
- 2026-10-03 Alias added: GHSA-wmvv-fhm6-w34x
References
Exploit 1
More chatchat-space vulnerabilities
- 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
Sources
- CVE-2026-7845 · CVE Program
- CVE-2026-7845 · NVD
- FIRST EPSS
- GHSA-wmvv-fhm6-w34x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences