chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values
Key facts
- Attack vector
- Adjacent network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
A vulnerability was found in chatchat-space Langchain-Chatchat up to 0.3.1.3. The affected element is the function _get_file_id of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component Uploaded File Handler. Performing a manipulation results in insufficiently random values. Access to the local network is required for this attack. The attack's complexity is rated as high. The exploitability is described as difficult. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| chatchat-space | Langchain-Chatchat | 0.3.1.0; 0.3.1.1; 0.3.1.2; 0.3.1.3 | — | No fix listed | CNA |
| — | langchain-chatchat (PyPI) | up to 0.3.1.3 | — | No fix listed | GHSA-jv4p-mhmp-69vw |
- Langchain-Chatchat Vendorchatchat-space Affected 0.3.1.0; 0.3.1.1; 0.3.1.2; 0.3.1.3 Fixed in — No fix listed CNA
- langchain-chatchat (PyPI) Vendor— Affected up to 0.3.1.3 Fixed in — No fix listed GHSA-jv4p-mhmp-69vw
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:* | — | — | chatchat-space |
- cpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:* Versions — — ·chatchat-space
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-7847
- 2026-10-03 Alias added: GHSA-jv4p-mhmp-69vw
References
Exploit 1
More chatchat-space vulnerabilities
- TI-2026-76659 Missing authentication in Langchain-Chatchat lets attackers run commands CVSS 4.0CRITICAL 9.3
- TI-2026-06902 chatchat-space Langchain-Chatchat Compatible File Service openai_routes.py delete_file missing authentication CVSS 4.0MEDIUM 5.3
- TI-2025-06227 chatchat-space Langchain-Chatchat files path traversal CVSS 4.0MEDIUM 5.3
- TI-2025-06226 chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal CVSS 4.0MEDIUM 5.3
- TI-2025-06228 chatchat-space Langchain-Chatchat file path traversal CVSS 4.0MEDIUM 5.1
- TI-2026-06904 chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou CVSS 4.0LOW 2.1
Sources
- CVE-2026-7847 · CVE Program
- CVE-2026-7847 · NVD
- FIRST EPSS
- GHSA-jv4p-mhmp-69vw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences