{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-6853","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.","descriptionLong":"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.","published":"2025-06-29T07:31:05.027Z","updated":"2026-10-28T02:30:51.499594103Z","reserved":"2025-06-28T10:37:51.109Z","status":"Analyzed","rejected":false,"assigner":"VulDB","metric":{"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","rating":"medium","source":"VulDB"},"metrics":[{"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","rating":"medium","source":"VulDB"},{"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","rating":"low","source":"vuldb.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"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","rating":"medium","source":"VulDB"},{"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","rating":"medium","source":"vuldb.com"},{"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","rating":"critical","source":"NVD"},{"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","rating":"medium","source":"GitHub"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"VulDB"},{"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","rating":"medium","source":"VulDB"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"vuldb.com"}],"rating":"medium","products":["chatchat-space Langchain-Chatchat"],"affectedProducts":[{"vendor":"chatchat-space","product":"Langchain-Chatchat","defaultStatus":null,"versions":[{"version":"0.3.0","status":"affected"},{"version":"0.3.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","ranges":["<=0.3.1.3"],"fixed":[],"advisory":"GHSA-qmgv-j263-qr33"}],"cwes":["CWE-22"],"aliases":["GHSA-qmgv-j263-qr33","PYSEC-2026-1513"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6853.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6853","tags":["advisory"]},{"url":"https://github.com/chatchat-space/Langchain-Chatchat","tags":["package"]},{"url":"https://pypi.org/project/langchain-chatchat","tags":["package"]},{"url":"https://github.com/advisories/GHSA-qmgv-j263-qr33","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.006,"epssPercentile":0.49448,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-6853","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6853","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-6853","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qmgv-j263-qr33","ok":true,"note":"GHSA-qmgv-j263-qr33"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-6853","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}