CVE-2026-7846 chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed in |
|---|---|---|
| chatchat-space Langchain-Chatchat | = 0.3.1.2 | No fix listed |
| chatchat-space Langchain-Chatchat | = 0.3.1.3 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com exploit
- github.com product
- Submit #807795 | chatchat-space Langchain-Chatchat 0.3.1.3 TOCTOU Race Condition / CWE-367 third-party-advisory
- VDB-361125 | chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou technical-description vdb-entry
- VDB-361125 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- pypi.org product
- github.com vendor-advisory