criticalCVSS 9.1NVD status: Deferred

CVE-2026-51883

LangChain: The knowledge base creation and document upload interfaces in Langchain-Chatchat 0.3.0;0.3.1 is vulnerable to path traversal.

ComponentLangChain
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 versionsnot published yet, see the advisory
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.

Does CVE-2026-51883 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for LangChain.
Check my stack

What to do

  • NVD lists no fixed version yet: follow the vendor advisory below and keep LangChain 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

Other LangChain CVEs

All LangChain CVEs