| 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.8) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published (NVD) | 2026-10-01 |
| Last modified | 2026-10-05 |
| Affected versions | Langchain Chatchat: = 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/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. By crafting malicious filenames, an attacker can write files to arbitrary locations on the server, bypassing the intended restrictions on the temporary 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.