{"id":"CVE-2026-7847","aliases":["CVE-2026-7847","GHSA-jv4p-mhmp-69vw","PYSEC-2026-2557"],"related":[],"kind":"vulnerability","state":"published","title":"chatchat-space Langchain-Chatchat Uploaded File openai_routes.py _get_file_id random values","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-05T16:30:13.695Z","modified":"2026-07-24T08:10:00.150Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":2.1,"rating":"LOW"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":2.1,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":2.6,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":2.6,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:A/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR","score":1.4,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","score":2.6,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","score":2.6,"rating":"LOW"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-310","CWE-330"],"affected":[{"ranges":[{"version":"0.3.1.0","status":"affected"},{"version":"0.3.1.1","status":"affected"},{"version":"0.3.1.2","status":"affected"},{"version":"0.3.1.3","status":"affected"}],"vendor":"chatchat-space","product":"Langchain-Chatchat","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.3.1.3"}],"ecosystem":"PyPI","package":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.3.1.3"}],"ecosystem":"PyPI","package":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","source":"pysec"}],"references":[{"url":"https://vuldb.com/vuln/361126","tags":["technical-description","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/vuln/361126/cti","tags":["permissions-required","signature","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/807796","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5464","tags":["issue-tracking","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-3-Predictable-File-ID.md","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/chatchat-space/Langchain-Chatchat/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7847","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/chatchat-space/Langchain-Chatchat","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/langchain-chatchat","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-jv4p-mhmp-69vw","tags":["advisory"],"sources":["pysec"]}],"credits":["Dem00 (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-05T18:41:10.851Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-7847","url":"https://www.cve.org/CVERecord?id=CVE-2026-7847","licence":"CVE Terms of Use","modified":"2026-05-06T15:25:12.075Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jv4p-mhmp-69vw","url":"https://github.com/advisories/GHSA-jv4p-mhmp-69vw","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:54.996Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-7847","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7847","licence":"Public domain","modified":"2026-07-24T08:10:00.150Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2557","url":"https://osv.dev/vulnerability/PYSEC-2026-2557","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:48.707Z"}],"updatedAt":"2026-11-25T22:59:20.627Z","epss":{"score":0.00294,"percentile":0.14481,"date":"2026-11-30T12:00:22.000Z"}}