CVE-2026-7847
JSON

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 packageVersionsReported by
chatchat-space Langchain-Chatchat0.3.1.0, 0.3.1.1, 0.3.1.2, 0.3.1.3CVE List
langchain-chatchat (PyPI)up to 0.3.1.3GitHub Advisory Database, PyPA Advisory Database

All scores

VulDB2.1low CVSS:4.0CVSS: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
VulDB2.6low CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
VulDB2.6low CVSS:3.0CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
VulDB1.4low CVSS:2.0AV:A/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR
GitHub2.6low CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHublow CVSS:4.0CVSS: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 Database2.6low CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-310CWE-330

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-7847 changed 2026-05-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-jv4p-mhmp-69vw changed 2026-07-13CC-BY-4.0
NVDCVE-2026-7847 changed 2026-07-24Public domain
PyPA Advisory DatabasePYSEC-2026-2557 changed 2026-07-13CC-BY-4.0