Langchain ChatchatPublished 1 Oct 2026NVD status: Deferred

CVE-2026-51884

The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal.

ProductLangchain Chatchat
A third-party product. The advisory mentions LangChain, but this is not a vulnerability in it: it is not counted in its CVEs.
Severitycritical (CVSS 9.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2026-10-01
Last modified2026-10-05
Affected versions
Langchain Chatchat:
= 0.3.1
read from the advisory text: no structured source gives these versions yet
Fixed insee the vendor advisory
WeaknessCWE-22
CISA KEVnot listed

NVD description

The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. By crafting malicious filenames, an attacker can write files to arbitrary locations on the server, bypassing the intended restrictions on the temporary directory.

What to do

  • No fixed release is known yet: follow the vendor advisory below and keep Langchain Chatchat off the public internet until a fix ships.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources