mediumCVSS 6.3NVD status: Analyzed

CVE-2025-6853

LangChain: A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1.

ComponentLangChain
Severitymedium (CVSS 6.3)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Published (NVD)2025-06-29
Last modified2026-06-17
Affected versions
langchain-chatchat <= 0.3.1
Fixed insee the vendor advisory
WeaknessCWE-22
CISA KEVnot listed

NVD description

A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Does CVE-2025-6853 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