2.1low
chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values
- Severity
- 2.1low CVSS:4.0 by VulDB
- Exploit likelihood
- 0.29% (higher than 14% of CVEs)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-jv4p-mhmp-69vwPYSEC-2026-2557
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| chatchat-space Langchain-Chatchat | 0.3.1.0, 0.3.1.1, 0.3.1.2, 0.3.1.3 | CVE List |
| langchain-chatchat (PyPI) | up to 0.3.1.3 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulDB | 2.1low 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 | 2.6low 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 | 2.6low 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 | 1.4low CVSS:2.0 | AV:A/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR |
| GitHub | 2.6low CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | low 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 |
| PyPA Advisory Database | 2.6low CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| PyPA Advisory Database | Not scored 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 |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró una vulnerabilidad en chatchat-space Langchain-Chatchat hasta 0.3.1.3. El elemento afectado es la función _get_file_id del archivo libs/chatchat-server/chatchat/server/api_server/openai_routes.py del componente Gestor de Archivos Subidos. Realizar una manipulación resulta en valores insuficientemente aleatorios. Se requiere acceso a la red local para este ataque. La complejidad del ataque se califica como alta. La explotabilidad se describe como difícil. El exploit se ha hecho público y podría ser utilizado. Se informó al proyecto del problema con antelación a través de un informe de incidencia, pero aún no ha respondido.
References
| 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/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable-File-ID.md | exploit, 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-7847 changed 2026-05-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jv4p-mhmp-69vw changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-7847 changed 2026-07-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2557 changed 2026-07-13 | CC-BY-4.0 |