Skip to main content
← All vulnerabilities
CVE-2026-7846PYSEC-2026-2559GHSA-X229-W2J4-H748

chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

A vulnerability has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. Impacted is the function files of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component OpenAI-Compatible File Upload API. Such manipulation of the argument file.filename leads to time-of-check time-of-use. Access to the local network is required for this attack to succeed. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • chatchat-space Langchain-Chatchat

    0.3.1.0, 0.3.1.1, 0.3.1.2, 0.3.1.3

  • langchain-chatchatPyPI

    through 0.3.1.3

References 6

VulDB

GitHub · chatchat-space/Langchain-Chatchat

GitHub · 3em0/cve_repo