CVE-2026-7846
LOW 1.2CVSS 4.0Langchain-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.
- Published
- 5 May 2026
- Last modified
- 24 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Deferred
- Weakness
- CWE-362
- Also known as
- GHSA-x229-w2j4-h748PYSEC-2026-2559
- Sources
- NVDJSONOSV GHSA-x229-w2j4-h748JSONOSV PYSEC-2026-2559JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | LOW 1.2 | CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P | |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 1.4 | AV:A/AC:H/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | langchain-chatchat | <= 0.3.1.3 |
References
- https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-2-Silent-File-Overwrite.md · WEB
- https://github.com/chatchat-space/Langchain-Chatchat/ · PACKAGE
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5463 · WEB
- https://vuldb.com/submit/807795 · WEB
- https://vuldb.com/vuln/361125 · WEB
- https://vuldb.com/vuln/361125/cti · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-7846 · ADVISORY
- https://pypi.org/project/langchain-chatchat · PACKAGE
- https://github.com/advisories/GHSA-x229-w2j4-h748 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 5 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 May 2026)