| Product | Langchain-Chatchat A third-party product. The advisory mentions LangChain, but this is not a vulnerability in it: it is not counted in its CVEs. |
| Severity | critical (CVSS 9.1) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published (NVD) | 2026-10-01 |
| Last modified | 2026-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 in | see the vendor advisory |
| Weakness | CWE-22 |
| CISA KEV | not 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.