CVE-2026-7846
CVE-2026-7846 — chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou
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 Updated Sources: cvelistV5, VulDB
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
2.6
LOW
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 2.6 | CVSS 3.1 | LOW | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-367
- CWE-362
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /chatchat-server/chatchat/server/api_server/openai_routes.py.
References
6 on the record
- vuldb.com/vuln/361125
vdb-entry, technical-description
- vuldb.com/vuln/361125/cti
signature, permissions-required
- vuldb.com/submit/807795
third-party-advisory
- github.com/chatchat-space/Langchain-Chatchat/issues/5463
issue-tracking
- github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-2-Silent-File-Overwrite.md
exploit
- github.com/chatchat-space/Langchain-Chatchat/
product
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2023-35311 Microsoft Outlook Security Feature Bypass VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2021-21166 Google Chromium Race Condition VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2025-22224 VMware ESXi and Workstation TOCTOU Race Condition VulnerabilityCVSS 8.2 · CISA KEV
- CVE-2026-119977 WordPress Core 4.7.0 - 7.1.3 - Unauthenticated Upgrade-Window Staged-Installer Remote Code ExecutionCVSS 8.1 · CISA KEV
- CVE-2020-6820 Mozilla Firefox And Thunderbird Use-After-Free VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2020-6819 Mozilla Firefox And Thunderbird Use-After-Free VulnerabilityCVSS 8.1 · CISA KEV
Elsewhere on this site
- Chatchat Spaceevery CVE for this vendor
- CWE-367other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.