Home / chatchat-space / Langchain-Chatchat / CVE-2026-7847
CVE-2026-7847: is it exploited, and which versions of chatchat-space Langchain-Chatchat are affected and fixed?
CVE-2026-7847 is a weak randomness vulnerability in chatchat-space Langchain-Chatchat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: langchain-chatchat through 0.3.1.3 (GitHub advisory GHSA-jv4p-mhmp-69vw). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (2.1, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-7847?
chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values
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.
From the CVE record by VulDB, last updated May 6, 2026, 15:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| chatchat-space | Langchain-Chatchat | 0.3.1.0 0.3.1.1 0.3.1.2 0.3.1.3 |
As the CVE record by VulDB states it, last updated May 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | langchain-chatchat | <= 0.3.1.3 | none listed | GHSA-jv4p-mhmp-69vw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 8, 2026. Summary: Langchain-Chatchat Uses Insufficiently Random Values.
How severe is CVE-2026-7847?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.1 | CVSS 4.0 | 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 | VulDB |
| Low 2.6 | CVSS 3.1 | 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 | VulDB |
| Low 2.6 | CVSS 3.0 | 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 | VulDB |
| Low 1.4 | CVSS 2.0 | AV:A/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-7847 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 5, 2026)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- VDB-361126 | chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values vdb-entry, technical-description
- VDB-361126 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #807796 | chatchat-space Langchain-Chatchat 0.3.1.3 Use of Insufficiently Random Values / CWE-330 third-party-advisory
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5464 issue-tracking
- https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable-File-ID.md exploit
- https://github.com/chatchat-space/Langchain-Chatchat/ product
Who found and reported it?
- Dem00 (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 5, 2026
- Published
- May 5, 2026, 16:30 UTC
- CVE record updated
- May 6, 2026, 15:25 UTC by VulDB
- NVD
- Deferred, last modified July 24, 2026, 08:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Langchain-Chatchat?
- Oct 20, 2026CVE-2026-75128 chatchat-space Langchain-Chatchat: missing authentication for a critical function
- May 5, 2026CVE-2026-7846 chatchat-space Langchain-Chatchat: time-of-check time-of-use race condition
- May 5, 2026CVE-2026-7845 chatchat-space Langchain-Chatchat: use of Weak Hash
- May 5, 2026CVE-2026-7844 chatchat-space Langchain-Chatchat: missing authentication for a critical function
- Jun 29, 2025CVE-2025-6855 chatchat-space Langchain-Chatchat: path traversal (reading or writing files outside the intended folder)
- Jun 29, 2025CVE-2025-6854 chatchat-space Langchain-Chatchat: path traversal (reading or writing files outside the intended folder)
- Jun 29, 2025CVE-2025-6853 chatchat-space Langchain-Chatchat: path traversal (reading or writing files outside the intended folder)
Every CVE in Langchain-Chatchat
Questions about CVE-2026-7847
Is CVE-2026-7847 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of chatchat-space Langchain-Chatchat are affected by CVE-2026-7847?
langchain-chatchat through 0.3.1.3, per the GitHub advisory GHSA-jv4p-mhmp-69vw. The tables above give every range the sources list.
Which version fixes CVE-2026-7847?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-7847?
Low (2.1, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-7847?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.