Skip to main content

Langchain Chatchat

11 CVEs product

Monthly

Threat Model
CVE-2026-75128 Oct 20, 00:46 CRITICAL POC Act Now

Unauthenticated remote command execution in Langchain-Chatchat through version 0.3.1.3 allows any network-reachable attacker to invoke the built-in shell tool through the POST /tools/call endpoint and run arbitrary OS commands as the Chatchat server user. Because the shipped Docker image runs the service as root, successful exploitation typically yields root-level command execution. Publicly available exploit code exists; there is no CISA KEV confirmation of active exploitation at time of analysis.

Authentication Bypass Docker Langchain Chatchat Chatchat Space
NVD GitHub
CVSS 4.0
9.3
EPSS
0.5%
CVE-2026-51884 Oct 01, 00:00 CRITICAL Act Now

Unauthenticated path traversal in Langchain-Chatchat 0.3.1 lets a remote attacker write files to arbitrary filesystem locations by submitting crafted filenames to the /knowledge_base/upload_temp_docs temporary document upload endpoint, escaping the intended temporary directory. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 9.8) confirms the endpoint is reachable over the network with no authentication and no user interaction required, and that a successful write can corrupt or replace application or system files, with potential escalation to code execution if an overwritten file is later imported or executed by the service. Independent risk signals are mixed: EPSS is low at 0.15% (4th percentile) and there is no CISA KEV listing, so no public exploit identified at time of analysis, but the associated GitHub issue and gist references document the endpoint's traversal behavior and raise the likelihood of straightforward replication by anyone with network access to a default deployment.

Path Traversal Langchain Chatchat
NVD GitHub
CVSS 3.1
9.8
EPSS
0.2%
CVE-2026-51883 Oct 01, 00:00 CRITICAL Act Now

Path traversal in Langchain-Chatchat 0.3.0 and 0.3.1 allows unauthenticated remote attackers to write knowledge base content to arbitrary filesystem locations outside the configured knowledge base root by injecting traversal sequences such as `..\` into the `knowledge_base_name` parameter of the knowledge base creation and document upload interfaces. The independent assessment scores this CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H (9.1), i.e. no confidentiality loss but high integrity and availability impact, since arbitrary file writes can overwrite or clobber existing files and, depending on which paths the service process can reach, may be escalated toward code execution. Not listed in CISA KEV and no public exploit identified at time of analysis; EPSS is 0.14% (roughly the 3rd percentile), so automated mass exploitation is unlikely, but the advisory references an upstream GitHub issue and a public gist that may carry additional technical detail.

Path Traversal Langchain Chatchat
NVD GitHub
CVSS 3.1
9.1
EPSS
0.1%
CVE-2026-51882 Oct 01, 00:00 CRITICAL Act Now

Unauthenticated path traversal in the OpenAI-compatible /v1/files upload endpoint of Langchain-Chatchat 0.3.0 allows remote attackers to write files to arbitrary locations outside the intended openai_files directory by supplying crafted filenames. The published CVSS is 9.1, but an independent assessment re-scores the issue at 8.1 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - because the primitive is a file write rather than a read or direct code execution, so confidentiality is unaffected and availability impact is limited. There is no confirmed active exploitation (CVE-2026-51882 is not in CISA KEV) and no public exploit identified at time of analysis, and with an EPSS score of 0.14% (3rd percentile) real-world urgency is driven mainly by whether the API server is network-reachable and how much filesystem write access the service account has.

Path Traversal File Upload Langchain Chatchat
NVD GitHub
CVSS 3.1
9.1
EPSS
0.1%
CVE-2026-7847 May 05, 16:30 PyPI LOW POC Monitor

Insufficiently random file ID generation in Langchain-Chatchat up to version 0.3.1.3 allows authenticated local network attackers to predict uploaded file identifiers via the _get_file_id function, enabling information disclosure. The vulnerability requires local network access and authenticated privileges but carries low exploitability due to high attack complexity. A public exploit is available, though the project has not responded to early disclosure notifications.

Information Disclosure Langchain Chatchat Chatchat Space
NVD VulDB GitHub
CVSS 4.0
1.2
EPSS
0.0%
CVE-2026-7846 May 05, 16:00 PyPI LOW POC Monitor

Time-of-check time-of-use (TOCTOU) vulnerability in Langchain-Chatchat up to 0.3.1.3 allows authenticated local network attackers to manipulate file.filename arguments in the OpenAI-Compatible File Upload API, leading to integrity compromise through race condition exploitation. Publicly available exploit code exists, and the vendor has not responded to early disclosure notification despite proof-of-concept documentation.

File Upload Langchain Chatchat Chatchat Space
NVD VulDB GitHub
CVSS 4.0
1.2
EPSS
0.0%
CVE-2026-7845 May 05, 15:45 PyPI LOW POC Monitor

Weak hash function in the Vision Chat Paste Image Handler of Langchain-Chatchat up to 0.3.1.3 allows local network attackers with low privileges to cause information disclosure via hash collision attacks on image data processed through PIL.Image.tobytes. The vulnerability requires high attack complexity and local network presence, resulting in minimal direct impact (CVSS 1.2); however, publicly available exploit code exists and the vendor has not responded to disclosure.

Information Disclosure Langchain Chatchat Chatchat Space
NVD VulDB GitHub
CVSS 4.0
1.2
EPSS
0.0%
CVE-2026-7844 May 05, 15:00 LOW POC Monitor

Missing authentication in Langchain-Chatchat up to version 0.3.1.3 allows unauthenticated local network attackers to access and manipulate files through the Compatible File Service endpoints (files/list_files, retrieve_file, retrieve_file_content, delete_file) in openai_routes.py without credentials. The vulnerability has a publicly available proof-of-concept exploit and affects confidentiality, integrity, and availability of stored files, though impact is limited to low severity per CVSS scoring; however, the lack of authentication on file operations represents a significant security control failure.

Authentication Bypass Langchain Chatchat Chatchat Space
NVD VulDB GitHub
CVSS 4.0
2.1
EPSS
0.0%
CVE-2025-6855 Jun 29, 09:15 PyPI LOW POC Monitor

Path traversal vulnerability in Langchain-Chatchat up to 0.3.1 allows authenticated attackers with low privileges to read, modify, or delete files on the server via the /v1/file endpoint by manipulating the flag argument. Public exploit code is available, increasing risk for attackers on the same network. EPSS score is low (0.20%), suggesting limited active exploitation currently.

Path Traversal Langchain Chatchat Chatchat Space
NVD GitHub VulDB
CVSS 4.0
2.0
EPSS
0.2%
CVE-2025-6854 Jun 29, 09:15 PyPI LOW POC Monitor

Path traversal in Langchain-Chatchat version 0.3.1 and earlier allows authenticated low-privilege users to read arbitrary files from the server via the /v1/files endpoint. Public exploit code exists but exploitation probability is low (EPSS 0.15%), with no active exploitation reported in CISA KEV.

Path Traversal Langchain Chatchat Chatchat Space
NVD GitHub VulDB
CVSS 4.0
2.1
EPSS
0.1%
CVE-2025-6853 Jun 29, 08:15 PyPI LOW POC Monitor

Path traversal in Langchain-Chatchat's backend file upload endpoint allows remote attackers to manipulate file paths via the 'flag' parameter, potentially reading or writing files outside the intended directory. Versions up to 0.3.1 are affected, and a publicly available exploit exists. No active exploitation has been reported through CISA KEV, and EPSS indicates low exploitation probability (0.18%).

Path Traversal Langchain Chatchat Chatchat Space
NVD GitHub VulDB
CVSS 4.0
2.1
EPSS
0.2%
Threat Model
EPSS 1% CVSS 9.3
CRITICAL POC Act Now

Unauthenticated remote command execution in Langchain-Chatchat through version 0.3.1.3 allows any network-reachable attacker to invoke the built-in shell tool through the POST /tools/call endpoint and run arbitrary OS commands as the Chatchat server user. Because the shipped Docker image runs the service as root, successful exploitation typically yields root-level command execution. Publicly available exploit code exists; there is no CISA KEV confirmation of active exploitation at time of analysis.

Authentication Bypass Docker Langchain Chatchat +1
NVD GitHub
EPSS 0% CVSS 9.8
CRITICAL Act Now

Unauthenticated path traversal in Langchain-Chatchat 0.3.1 lets a remote attacker write files to arbitrary filesystem locations by submitting crafted filenames to the /knowledge_base/upload_temp_docs temporary document upload endpoint, escaping the intended temporary directory. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 9.8) confirms the endpoint is reachable over the network with no authentication and no user interaction required, and that a successful write can corrupt or replace application or system files, with potential escalation to code execution if an overwritten file is later imported or executed by the service. Independent risk signals are mixed: EPSS is low at 0.15% (4th percentile) and there is no CISA KEV listing, so no public exploit identified at time of analysis, but the associated GitHub issue and gist references document the endpoint's traversal behavior and raise the likelihood of straightforward replication by anyone with network access to a default deployment.

Path Traversal Langchain Chatchat
NVD GitHub
EPSS 0% CVSS 9.1
CRITICAL Act Now

Path traversal in Langchain-Chatchat 0.3.0 and 0.3.1 allows unauthenticated remote attackers to write knowledge base content to arbitrary filesystem locations outside the configured knowledge base root by injecting traversal sequences such as `..\` into the `knowledge_base_name` parameter of the knowledge base creation and document upload interfaces. The independent assessment scores this CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H (9.1), i.e. no confidentiality loss but high integrity and availability impact, since arbitrary file writes can overwrite or clobber existing files and, depending on which paths the service process can reach, may be escalated toward code execution. Not listed in CISA KEV and no public exploit identified at time of analysis; EPSS is 0.14% (roughly the 3rd percentile), so automated mass exploitation is unlikely, but the advisory references an upstream GitHub issue and a public gist that may carry additional technical detail.

Path Traversal Langchain Chatchat
NVD GitHub
EPSS 0% CVSS 9.1
CRITICAL Act Now

Unauthenticated path traversal in the OpenAI-compatible /v1/files upload endpoint of Langchain-Chatchat 0.3.0 allows remote attackers to write files to arbitrary locations outside the intended openai_files directory by supplying crafted filenames. The published CVSS is 9.1, but an independent assessment re-scores the issue at 8.1 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - because the primitive is a file write rather than a read or direct code execution, so confidentiality is unaffected and availability impact is limited. There is no confirmed active exploitation (CVE-2026-51882 is not in CISA KEV) and no public exploit identified at time of analysis, and with an EPSS score of 0.14% (3rd percentile) real-world urgency is driven mainly by whether the API server is network-reachable and how much filesystem write access the service account has.

Path Traversal File Upload Langchain Chatchat
NVD GitHub
EPSS 0% CVSS 1.2
LOW POC Monitor

Insufficiently random file ID generation in Langchain-Chatchat up to version 0.3.1.3 allows authenticated local network attackers to predict uploaded file identifiers via the _get_file_id function, enabling information disclosure. The vulnerability requires local network access and authenticated privileges but carries low exploitability due to high attack complexity. A public exploit is available, though the project has not responded to early disclosure notifications.

Information Disclosure Langchain Chatchat Chatchat Space
NVD VulDB GitHub
EPSS 0% CVSS 1.2
LOW POC Monitor

Time-of-check time-of-use (TOCTOU) vulnerability in Langchain-Chatchat up to 0.3.1.3 allows authenticated local network attackers to manipulate file.filename arguments in the OpenAI-Compatible File Upload API, leading to integrity compromise through race condition exploitation. Publicly available exploit code exists, and the vendor has not responded to early disclosure notification despite proof-of-concept documentation.

File Upload Langchain Chatchat Chatchat Space
NVD VulDB GitHub
EPSS 0% CVSS 1.2
LOW POC Monitor

Weak hash function in the Vision Chat Paste Image Handler of Langchain-Chatchat up to 0.3.1.3 allows local network attackers with low privileges to cause information disclosure via hash collision attacks on image data processed through PIL.Image.tobytes. The vulnerability requires high attack complexity and local network presence, resulting in minimal direct impact (CVSS 1.2); however, publicly available exploit code exists and the vendor has not responded to disclosure.

Information Disclosure Langchain Chatchat Chatchat Space
NVD VulDB GitHub
EPSS 0% CVSS 2.1
LOW POC Monitor

Missing authentication in Langchain-Chatchat up to version 0.3.1.3 allows unauthenticated local network attackers to access and manipulate files through the Compatible File Service endpoints (files/list_files, retrieve_file, retrieve_file_content, delete_file) in openai_routes.py without credentials. The vulnerability has a publicly available proof-of-concept exploit and affects confidentiality, integrity, and availability of stored files, though impact is limited to low severity per CVSS scoring; however, the lack of authentication on file operations represents a significant security control failure.

Authentication Bypass Langchain Chatchat Chatchat Space
NVD VulDB GitHub
EPSS 0% CVSS 2.0
LOW POC Monitor

Path traversal vulnerability in Langchain-Chatchat up to 0.3.1 allows authenticated attackers with low privileges to read, modify, or delete files on the server via the /v1/file endpoint by manipulating the flag argument. Public exploit code is available, increasing risk for attackers on the same network. EPSS score is low (0.20%), suggesting limited active exploitation currently.

Path Traversal Langchain Chatchat Chatchat Space
NVD GitHub VulDB
EPSS 0% CVSS 2.1
LOW POC Monitor

Path traversal in Langchain-Chatchat version 0.3.1 and earlier allows authenticated low-privilege users to read arbitrary files from the server via the /v1/files endpoint. Public exploit code exists but exploitation probability is low (EPSS 0.15%), with no active exploitation reported in CISA KEV.

Path Traversal Langchain Chatchat Chatchat Space
NVD GitHub VulDB
EPSS 0% CVSS 2.1
LOW POC Monitor

Path traversal in Langchain-Chatchat's backend file upload endpoint allows remote attackers to manipulate file paths via the 'flag' parameter, potentially reading or writing files outside the intended directory. Versions up to 0.3.1 are affected, and a publicly available exploit exists. No active exploitation has been reported through CISA KEV, and EPSS indicates low exploitation probability (0.18%).

Path Traversal Langchain Chatchat Chatchat Space
NVD GitHub VulDB

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy