CVE-2026-7847 in Chatchat-Space Langchain-Chatchat
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. Acces...
Affects 1 product from 4 vendors. Facts below cite their sources.
Exploitable from adjacent network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Chatchat-Space | Langchain-Chatchat | 0.3.1.0 0.3.1.1 0.3.1.2 0.3.1.3 |
| Element | — | — |
| Langchain | — | — |
| Project | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-7847 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-154917-L |
| CVSS vector | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Published | 2026-05-05 |
| Last modified | 2026-07-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-310: Cryptographic Issues
Broad class covering misuse of cryptography: weak algorithms, insufficient key length, improper certificate validation.
CWE-330: CWE-330
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-330
CAPEC-485 Signature Spoofing by Key Recreation via CWE-330
CAPEC-112 Brute Force via CWE-330
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in chatchat-space Langchain-Chatchat up to version 0.3.1.3 allows for insufficiently random values in the _get_file_id function, potentially leading to predictable file IDs and unauthorized access to uploaded files.
The vulnerability exists in the _get_file_id function within the openai_routes.py file of the Uploaded File Handler component. An attacker with access to the local network can exploit this by manipulating the function to predict file IDs, which could lead to unauthorized access to uploaded files.
Questions
What is CVE-2026-7847?
A vulnerability in chatchat-space Langchain-Chatchat up to version 0.3.1.3 allows for insufficiently random values in the _get_file_id function, potentially leading to predictable file IDs and unauthorized access to uploaded files.
What is the CVSS score for CVE-2026-7847?
CVE-2026-7847 has CVSS 2.6 (Low). Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.3%.
Is CVE-2026-7847 actively exploited?
No confirmed active exploitation of CVE-2026-7847 as of 2026-07-25.
How do I remediate CVE-2026-7847?
Priority: MEDIUM.
What systems are affected by CVE-2026-7847?
CVE-2026-7847 affects Chatchat-Space Langchain-Chatchat; Element; Langchain; Project.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Chatchat-Space","product":"Langchain-Chatchat","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.