CVE-2026-7847
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.
Weakness
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-05 |
Timeline
- 2026-05-05Published by the CNA16:30 UTC
- 2026-05-05GitHub advisory published (GHSA-jv4p-mhmp-69vw)same day
- 2026-05-05CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-jv4p-mhmp-69vw, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI langchain-chatchat | through 0.3.1.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| chatchat-space langchain-chatchat | 0.3.1.0no fix listed0.3.1.1no fix listed0.3.1.2no fix listed0.3.1.3no fix listed | not listednot listednot listednot listed |
References
- 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
- https://vuldb.com/submit/807796
- https://vuldb.com/vuln/361126
- https://vuldb.com/vuln/361126/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-7847'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-7847'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-7847'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-7847'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).