CVE-2026-7847
published low CVSS 4.0 · 2.1chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| chatchat-space | — | Langchain-Chatchat0.3.1.0 · 0.3.1.1 · 0.3.1.2 · 0.3.1.3 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 2.6 | low | VulDB · cna | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R | — |
| 3.0 | 2.6 | low | VulDB · cna | CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R | — |
| 2.0 | 1.4 | low | VulDB · cna | AV:A/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| chatchat-space | Langchain-Chatchat | 0.3.1.0 (affected)0.3.1.1 (affected)0.3.1.2 (affected)0.3.1.3 (affected) | VulDB · cna |
Weaknesses
2- CWE-330 Insufficiently Random Values
- CWE-310 Cryptographic Issues
References
6- https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable-File-ID.md
- https://github.com/chatchat-space/Langchain-Chatchat/
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5464
- Submit #807796 | chatchat-space Langchain-Chatchat 0.3.1.3 Use of Insufficiently Random Values / CWE-330 https://vuldb.com/submit/807796
- VDB-361126 | chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values https://vuldb.com/vuln/361126
- VDB-361126 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/361126/cti
Provider assertions
2VulDB · cna
chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 57b3c2eb9e5ef8cb5b0116810a76934668e70d22fbd09404ba821f46512b8c9a
- Ingested
- 23 Sep 2026, 09:34:17 UTC
- Source record
- Official CVE record