Skip to content
LowVulnerability

CVE-2026-7847: Langchain-Chatchat insufficiently random file ID generation

Identifier
CVE-2026-7847
Published
Record updated
View JSON
Affected
  • langchain-chatchat <= 0.3.1.3
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

CVE-2026-7847 affects chatchat-space Langchain-Chatchat up to 0.3.1.3. The function _get_file_id in libs/chatchat-server/chatchat/server/api_server/openai_routes.py, part of the Uploaded File Handler component, produces insufficiently random values. Exploitation requires access to the local network, has high attack complexity and is described as difficult; a public exploit exists. The project was informed early through an issue report but has not responded.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.