Skip to content

CVE-2026-7846 chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou

LowCVSS 2.1 EPSS 0.16%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi langchain-chatchat(PyPI) <= 0.3.1.3; = 0.3.0; = 0.3.0.20240506; = 0.3.0.20240606 +19 more after 0.3.1.3 Fixed
chatchat-space Langchain-Chatchat = 0.3.1.0; = 0.3.1.1; = 0.3.1.2; = 0.3.1.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi langchain-chatchat(PyPI) <= 0.3.1.3 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240506 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240606 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240610 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240610.1 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240611 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240612 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240612.1 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240612.2 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240612.3 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240612.4 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240616 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240618 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240619 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240621 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240621.3 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240625 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.0.20240625.1 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.1 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.1.1 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.1.2 No fix listed
pypi langchain-chatchat(PyPI) = 0.3.1.3 No fix listed
chatchat-space Langchain-Chatchat = 0.3.1.0 No fix listed
chatchat-space Langchain-Chatchat = 0.3.1.1 No fix listed
Show 2 more
ProductAffected versionsFixed in
chatchat-space Langchain-Chatchat = 0.3.1.2 No fix listed
chatchat-space Langchain-Chatchat = 0.3.1.3 No fix listed

References