Langchain-ChatchatPublished 1 Oct 2026NVD status: Deferred

CVE-2026-51883

The knowledge base creation and document upload interfaces in Langchain-Chatchat 0.3.0;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.1)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published (NVD)2026-10-01
Last modified2026-10-05
Affected versions
Langchain-Chatchat:
= 0.3.0
= 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 creation and document upload interfaces in Langchain-Chatchat 0.3.0;0.3.1 is vulnerable to path traversal. An attacker can inject path traversal sequences (such as ..\) into the knowledge_base_name parameter to write knowledge base content to arbitrary locations outside the configured knowledge base root 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