Langchain-Chatchat has a Race Condition in its OpenAI-Compatible File Upload API
A vulnerability has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. Impacted is the function files of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component OpenAI-Compatible File Upload API. Such manipulation of the argument file.filename leads to time-of-check time-of-use. Access to the local network is required for this attack to succeed. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | langchain-chatchat | <= 0.3.1.3 | brak poprawki |
Odnośniki
- https://nvd.nist.gov/vuln/detail/CVE-2026-7846
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5463
- https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-2-Silent-File-Overwrite.md
- https://github.com/chatchat-space/Langchain-Chatchat
- https://vuldb.com/submit/807795
- https://vuldb.com/vuln/361125
- https://vuldb.com/vuln/361125/cti
- https://pypi.org/project/langchain-chatchat
- https://github.com/advisories/GHSA-x229-w2j4-h748
- Wektor CVSS
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N- Słabość (CWE)
CWE-362- Platforma
- Python (PyPI)
- Paczka
langchain-chatchat- Ujawniono
- 05.05.2026
- Aktualizacja
- 11.10.2026 14:18
Źródła i licencje
OSV / GitHub Advisory Database - PYSEC-2026-2559 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-x229-w2j4-h748 - CC BY 4.0
Historia podatności: langchain-chatchat
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 6
- Pierwsza → ostatnia
- 06.2025 05.2026
- Bez poprawki
- 6
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Niska 6
Ujawnienia w latach
- 2025: 3
- 2026: 3
-
Langchain-Chatchat has a Race Condition in its OpenAI-Compatible File Upload API ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.