chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values
Summary
| CVE | CVE-2026-7847 |
|---|---|
| State | PUBLISHED |
| Assigner | VulDB |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-05 17:17:05 UTC |
| Updated | 2026-05-05 19:06:58 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 1.2 LOW from [email protected]
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/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
Problem Types: CWE-310 | CWE-330 | CWE-330 Insufficiently Random Values | CWE-310 Cryptographic Issues
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 1.2 | LOW | 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/C... |
| 4.0 | CNA | DECLARED | 2.1 | LOW | 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 |
| 3.1 | [email protected] | Primary | 2.6 | LOW | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | DECLARED | 2.6 | LOW | 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 | CNA | DECLARED | 2.6 | LOW | 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 | [email protected] | Secondary | 1.4 | AV:A/AC:H/Au:S/C:P/I:N/A:N | |
| 2.0 | CNA | DECLARED | 1.4 | AV:A/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR |
CVSS v4.0 Breakdown
Attack Vector
AdjacentAttack Complexity
HighAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
LowIntegrity
NoneAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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/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
CVSS v3.1 Breakdown
Attack Vector
AdjacentAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v3.0 Breakdown
Attack Vector
AdjacentAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Chatchat-space | Langchain-Chatchat | affected 0.3.1.0 | Not specified |
| CNA | Chatchat-space | Langchain-Chatchat | affected 0.3.1.1 | Not specified |
| CNA | Chatchat-space | Langchain-Chatchat | affected 0.3.1.2 | Not specified |
| CNA | Chatchat-space | Langchain-Chatchat | affected 0.3.1.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable... | [email protected] | github.com | |
| github.com/chatchat-space/Langchain-Chatchat/issues/5464 | [email protected] | github.com | |
| vuldb.com/vuln/361126/cti | [email protected] | vuldb.com | |
| github.com/chatchat-space/Langchain-Chatchat | [email protected] | github.com | |
| vuldb.com/submit/807796 | [email protected] | vuldb.com | |
| vuldb.com/vuln/361126 | [email protected] | vuldb.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Dem00 (VulDB User) (en)
CNA: VulDB CNA Team (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-05T00:00:00.000Z | Advisory disclosed |
| CNA | 2026-05-05T02:00:00.000Z | VulDB entry created |
| CNA | 2026-05-05T12:26:20.000Z | VulDB entry last update |
There are currently no legacy QID mappings associated with this CVE.