| Product | chatchat-space 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 | medium (CVSS 6.3) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| Published (NVD) | 2025-06-29 |
| Last modified | 2026-06-17 |
| Affected versions | chatchat-space langchain-chatchat: <= 0.3.1 |
| Fixed in | see the vendor advisory |
| Weakness | CWE-22 |
| CISA KEV | not 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.
What to do
- No fixed release is known yet: follow the vendor advisory below and keep chatchat-space 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.