Skip to content
LowVulnerability

CVE-2026-7846: Langchain-Chatchat time-of-check time-of-use in file upload API

Identifier
CVE-2026-7846
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-7846 affects chatchat-space Langchain-Chatchat up to 0.3.1.3, specifically the files function in libs/chatchat-server/chatchat/server/api_server/openai_routes.py within the OpenAI-Compatible File Upload API. Manipulating the argument file.filename leads to a time-of-check time-of-use flaw. Exploitation requires local network access and a high level of complexity, and the exploit is public. The project was notified early through an issue report but has not responded.

Mitigation

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