# CVE-2026-7847: chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values

- Severity: Low 2.1 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 14% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T16:30:13.695Z
- Modified: 2026-07-24T08:10:00.150Z
- Also known as: GHSA-jv4p-mhmp-69vw, PYSEC-2026-2557
- Weaknesses: CWE-310, CWE-330
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- chatchat-space Langchain-Chatchat: 0.3.1.0; 0.3.1.1; 0.3.1.2; 0.3.1.3
- langchain-chatchat (PyPI): up to 0.3.1.3

## Every score

- VulDB: CVSS:4.0 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`
- VulDB: CVSS:3.1 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`
- VulDB: CVSS:3.0 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`
- VulDB: CVSS:2.0 1.4 Low `AV:A/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 2.6 Low `CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 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`
- PyPA Advisory Database: CVSS:3.1 2.6 Low `CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: 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`

## References

- <https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable-File-ID.md> (exploit, web)
- <https://vuldb.com/vuln/361126> (technical-description, vdb-entry, web)
- <https://vuldb.com/vuln/361126/cti> (permissions-required, signature, web)
- <https://vuldb.com/submit/807796> (third-party-advisory, web)
- <https://github.com/chatchat-space/Langchain-Chatchat/issues/5464> (issue-tracking, web)
- <https://github.com/chatchat-space/Langchain-Chatchat/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7847> (advisory)
- <https://github.com/chatchat-space/Langchain-Chatchat> (package)
- <https://pypi.org/project/langchain-chatchat> (package)
- <https://github.com/advisories/GHSA-jv4p-mhmp-69vw> (advisory)

## Sources

- CVE List: [CVE-2026-7847](https://www.cve.org/CVERecord?id=CVE-2026-7847), CVE Terms of Use, modified 2026-05-06
- GitHub Advisory Database: [GHSA-jv4p-mhmp-69vw](https://github.com/advisories/GHSA-jv4p-mhmp-69vw), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-7847](https://nvd.nist.gov/vuln/detail/CVE-2026-7847), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2557](https://osv.dev/vulnerability/PYSEC-2026-2557), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-7847 · Whole record: https://cve.day/CVE-2026-7847.json · Rebuilt by cve.day 2026-11-25T22:59:20.627Z
