{"id":"CVE-2025-6853","aliases":["EUVD-2025-19477","GHSA-qmgv-j263-qr33","PYSEC-2026-1513"],"status":"published","title":"chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal","description":"A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.006,"percentile":0.48988,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2025-06-29T07:31:05Z","modified":"2026-10-28T02:30:51Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"langchain-chatchat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.1.3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"langchain-chatchat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.1.3"}]}],"versions":["0.3.0","0.3.0.20240506","0.3.0.20240606","0.3.0.20240610","0.3.0.20240610.1","0.3.0.20240611","0.3.0.20240612","0.3.0.20240612.1","0.3.0.20240612.2","0.3.0.20240612.3","0.3.0.20240612.4","0.3.0.20240616","0.3.0.20240618","0.3.0.20240619","0.3.0.20240621","0.3.0.20240621.3","0.3.0.20240625","0.3.0.20240625.1","0.3.1","0.3.1.1","0.3.1.2","0.3.1.3"]},{"source":"osv","ecosystem":"PyPI","package":"langchain-chatchat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.1.3"}]}],"versions":["0.3.0","0.3.0.20240506","0.3.0.20240606","0.3.0.20240610","0.3.0.20240610.1","0.3.0.20240611","0.3.0.20240612","0.3.0.20240612.1","0.3.0.20240612.2","0.3.0.20240612.3","0.3.0.20240612.4","0.3.0.20240616","0.3.0.20240618","0.3.0.20240619","0.3.0.20240621","0.3.0.20240621.3","0.3.0.20240625","0.3.0.20240625.1","0.3.1","0.3.1.1","0.3.1.2","0.3.1.3"]}],"products":[{"vendor":"chatchat-space","product":"langchain-chatchat"}],"references":[{"url":"https://vuldb.com/?id.314325","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://vuldb.com/?ctiid.314325","tags":["signature","permissions-required","Permissions Required","VDB Entry","report","web"]},{"url":"https://vuldb.com/?submit.601155","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5352","tags":["exploit","issue-tracking","Exploit","Issue Tracking","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6853","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qmgv-j263-qr33","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6853.json","tags":["advisory"]},{"url":"https://github.com/chatchat-space/Langchain-Chatchat","tags":["package"]},{"url":"https://pypi.org/project/langchain-chatchat","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-6853","title":"chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal","description":"A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-06-29T07:31:05.027Z","modified":"2025-06-30T15:44:45.431Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","level":"medium","assessor":"cna"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","level":"medium","assessor":"cna"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:32:40.419293Z"}],"euvd":[{"id":"EUVD-2025-19477","description":"A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-06-29T07:31:05Z","modified":"2025-06-30T15:44:45Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-02T20:32:15.785343Z"}],"ghsa":[{"id":"GHSA-qmgv-j263-qr33","title":"Langchain-Chatchat has a Path Traversal vulnerability","description":"A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-06-29T09:30:22Z","modified":"2025-09-16T19:32:51Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:58.107905Z"}],"nvd":[{"id":"CVE-2025-6853","description":"A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-06-29T08:15:21.55Z","modified":"2026-06-17T10:02:41.803Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:11:14.781314Z"}],"osv":[{"id":"CVE-2025-6853","title":"chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal","description":"A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-06-29T07:31:05.027Z","modified":"2026-10-28T02:30:51.499594103Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:52.53036Z"},{"id":"GHSA-qmgv-j263-qr33","title":"Langchain-Chatchat has a Path Traversal vulnerability","description":"A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-06-29T09:30:22Z","modified":"2026-07-07T17:56:55.941048934Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:54.760124Z"},{"id":"PYSEC-2026-1513","title":"Langchain-Chatchat has a Path Traversal vulnerability","description":"A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2026-07-07T16:02:55.947779Z","modified":"2026-07-07T17:46:46.986836571Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"updated_at":"2026-11-02T15:52:55.06457Z"}]}}
